public Integer getPropertyAsInteger(String propName)
    {
        String prop = getProperty(propName);

        return (prop != null) ? Integer.valueOf(prop) : null;
    }
public Integer getPropertyAsInteger ( String propName ) { String prop = getProperty ( propName ) ; return ( prop != null ) ? Integer . valueOf ( prop ) : null ; }
Parses a property as an integer.

@param  propName The property.

@return The property as a integer, or null if it does not exist.