public Long(String s)
throws NumberFormatException
Constructs a newly allocated Long object that represents the long value indicated by the String parameter. The string is converted to a long value in exactly the manner used by the parseLong method for radix 10.
Parameters:
s - the String to be converted to a Long.
Throws:
NumberFormatException - if the String does not contain a parsable long.
See Also:
parseLong(java.lang.String, int)