Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. and Motorola, Inc. All rights reserved.

MID Profile

Uses of Class
java.lang.NumberFormatException

Packages that use NumberFormatException
java.lang Provides classes that are fundamental to the Java programming language. 
 

Uses of NumberFormatException in java.lang
 

Methods in java.lang that throw NumberFormatException
static short Short.parseShort(String s)
          Assuming the specified String represents a short, returns that short's value.
static short Short.parseShort(String s, int radix)
          Assuming the specified String represents a short, returns that short's value in the radix specified by the second argument.
static long Long.parseLong(String s, int radix)
          Parses the string argument as a signed long in the radix specified by the second argument.
static long Long.parseLong(String s)
          Parses the string argument as a signed decimal long.
static int Integer.parseInt(String s, int radix)
          Parses the string argument as a signed integer in the radix specified by the second argument.
static int Integer.parseInt(String s)
          Parses the string argument as a signed decimal integer.
static Integer Integer.valueOf(String s, int radix)
          Returns a new Integer object initialized to the value of the specified String.
static Integer Integer.valueOf(String s)
          Returns a new Integer object initialized to the value of the specified String.
static Float Float.valueOf(String s)
          Returns the floating point value represented by the specified String.
static float Float.parseFloat(String s)
          Returns a new float initialized to the value represented by the specified String.
static Double Double.valueOf(String s)
          Returns a new Double object initialized to the value represented by the specified string.
static double Double.parseDouble(String s)
          Returns a new double initialized to the value represented by the specified String, as performed by the valueOf method of class Double.
static byte Byte.parseByte(String s)
          Assuming the specified String represents a byte, returns that byte's value.
static byte Byte.parseByte(String s, int radix)
          Assuming the specified String represents a byte, returns that byte's value.
 


MID Profile

Copyright © 2006 Sun Microsystems, Inc. and Motorola, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 118 specification.