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.

Exceptions:
NumberFormatException    if the String does not contain a parsable long.

See also:
java.lang.Long.parseLong(java.lang.String, int)