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

Returns a
Byte 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
byte in
the radix specified by the second argument, exactly as if the
argument were given to the
Byte.parseByte(java.lang.String,
int) method. The result is a
Byte object that
represents the
byte value specified by the string.
In other words, this method returns a Byte object
equal to the value of:
new Byte(Byte.parseByte(s, radix))
Returns:
a
Byte 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
byte.