@Deprecated(since="9")
public Integer (String s) throws NumberFormatException

Deprecated: It is rarely appropriate to use this constructor. Use parseInt(String) to convert a string to a int primitive, or use valueOf(String) to convert a string to an Integer object.

Constructs a newly allocated Integer object that represents the int value indicated by the String parameter. The string is converted to an int value in exactly the manner used by the parseInt method for radix 10.

Parameters:
s    the String to be converted to an Integer.

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