| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use NumberFormatException | |
|---|---|
| java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images. | 
| java.lang | Provides classes that are fundamental to the design of the Java programming language. | 
| Uses of NumberFormatException in java.awt | 
|---|
| Methods in java.awt that throw NumberFormatException | |
|---|---|
| static Color | Color.decode(String nm)Converts a Stringto an integer and returns the 
 specified opaqueColor. | 
| Uses of NumberFormatException in java.lang | 
|---|
| Methods in java.lang that throw NumberFormatException | |
|---|---|
| static Short | Short.decode(String nm)Decodes a Stringinto aShort. | 
| static Byte | Byte.decode(String nm)Decodes a Stringinto aByte. | 
| static Integer | Integer.decode(String nm)Decodes a Stringinto anInteger. | 
| static Long | Long.decode(String nm)Decodes a Stringinto aLong. | 
|  boolean | Package.isCompatibleWith(String desired)Compare this package's specification version with a desired version. | 
| static byte | Byte.parseByte(String s)Parses the string argument as a signed decimal byte. | 
| static byte | Byte.parseByte(String s,
          int radix)Parses the string argument as a signed bytein the
 radix specified by the second argument. | 
| static double | Double.parseDouble(String s)Returns a new doubleinitialized to the value
 represented by the specifiedString, as performed
 by thevalueOfmethod of classDouble. | 
| static float | Float.parseFloat(String s)Returns a new floatinitialized to the value
 represented by the specifiedString, as performed
 by thevalueOfmethod of classFloat. | 
| static int | Integer.parseInt(String s)Parses the string argument as a signed decimal integer. | 
| 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 long | Long.parseLong(String s)Parses the string argument as a signed decimal long. | 
| static long | Long.parseLong(String s,
          int radix)Parses the string argument as a signed longin the
 radix specified by the second argument. | 
| static short | Short.parseShort(String s)Parses the string argument as a signed decimal short. | 
| static short | Short.parseShort(String s,
           int radix)Parses the string argument as a signed shortin
 the radix specified by the second argument. | 
| static Double | Double.valueOf(String s)Returns a Doubleobject holding thedoublevalue represented by the argument strings. | 
| static Float | Float.valueOf(String s)Returns a Floatobject holding thefloatvalue represented by the argument strings. | 
| static Short | Short.valueOf(String s)Returns a Shortobject holding the
 value given by the specifiedString. | 
| static Byte | Byte.valueOf(String s)Returns a Byteobject holding the value
 given by the specifiedString. | 
| static Integer | Integer.valueOf(String s)Returns an Integerobject holding the
 value of the specifiedString. | 
| static Long | Long.valueOf(String s)Returns a Longobject holding the value
 of the specifiedString. | 
| static Short | Short.valueOf(String s,
        int radix)Returns a Shortobject holding the value
 extracted from the specifiedStringwhen parsed
 with the radix given by the second argument. | 
| static Byte | Byte.valueOf(String s,
        int radix)Returns a Byteobject holding the value
 extracted from the specifiedStringwhen parsed
 with the radix given by the second argument. | 
| static Integer | Integer.valueOf(String s,
        int radix)Returns an Integerobject holding the value
 extracted from the specifiedStringwhen parsed
 with the radix given by the second argument. | 
| static Long | Long.valueOf(String s,
        int radix)Returns a Longobject holding the value
 extracted from the specifiedStringwhen parsed
 with the radix given by the second argument. | 
| Constructors in java.lang that throw NumberFormatException | |
|---|---|
| Byte(String s)Constructs a newly allocated Byteobject that
 represents thebytevalue indicated by theStringparameter. | |
| Double(String s)Constructs a newly allocated Doubleobject that
 represents the floating-point value of typedoublerepresented by the string. | |
| Float(String s)Constructs a newly allocated Floatobject that 
 represents the floating-point value of typefloatrepresented by the string. | |
| Integer(String s)Constructs a newly allocated Integerobject that
 represents theintvalue indicated by theStringparameter. | |
| Long(String s)Constructs a newly allocated Longobject that
 represents thelongvalue indicated by theStringparameter. | |
| Short(String s)Constructs a newly allocated Shortobject that
 represents theshortvalue indicated by theStringparameter. | |
| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.