Java tutorial
//package com.java2s; /*********************************************************************************************************************** * Copyright (c) 2008 empolis GmbH and brox IT Solutions GmbH. All rights reserved. This program and the accompanying * materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html * * Contributors: Daniel Stucky (empolis GmbH) - initial API and implementation **********************************************************************************************************************/ public class Main { /** * Decodes an Integer. * * @param xmlInteger * the xmlInteger * @return a int */ public static int decodeInteger(String xmlInteger) { return new Integer(xmlInteger).intValue(); } }