public static Long getLong (String nm)

Determines the long 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 a long value using the grammar supported by decode and a Long 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 a Long object equal to the value of:

getLong(nm, null)

Parameters:
nm    property name.

Returns:  the Long value of the property.

Exceptions:
SecurityException    for the same reasons as System.getProperty

See also:
java.lang.System.getProperty(java.lang.String), java.lang.System.getProperty(java.lang.String, java.lang.String)