
Returns a
Short object holding the value
extracted from the specified
String when parsed
with the radix given by the second argument.

Returns a
Short object holding the value
extracted from the specified
String when parsed
with the radix given by the second argument. The first argument
is interpreted as representing a signed
short in
the radix specified by the second argument, exactly as if the
argument were given to the
Short.parseShort(java.lang.String,
int) method. The result is a
Short object that
represents the
short value specified by the string.
In other words, this method returns a Short object
equal to the value of:
new Short(Short.parseShort(s, radix))
Returns:
a
Short object holding the value
represented by the string argument in the
specified radix.
Parameters:
-
s - the string to be parsed
-
radix - the radix to be used in interpreting
s
Throws:
-
NumberFormatException - If the
String does
not contain a parsable
short.