Determines the integer value of the system property with the specified name.
The first argument is treated as the name of a system
property. System properties are accessible through the java.lang.System.getProperty(java.lang.String)
method. The
string value of this property is then interpreted as an integer
value using the grammar supported by decode
and
an Integer
object representing this value is returned.
If there is no property with the specified name, if the
specified name is empty or null
, or if the property
does not have the correct numeric format, then null
is
returned.
In other words, this method returns an Integer
object equal to the value of:
getInteger(nm, null)
nm | property name. |
Integer
value of the property.
SecurityException | for the same reasons as
System.getProperty |
java.lang.System.getProperty(java.lang.String), java.lang.System.getProperty(java.lang.String, java.lang.String)
Diagram: Number