@Override
    public void loadFromProperties(Properties props) {
        String strValue = props.getProperty(container.getSimpleName() + "." + name);
        if (strValue == null)
            return;

        try {
            int intValue = Integer.parseInt(strValue);
            set(intValue);
        } catch (NumberFormatException nfe) {
        }
    }
@ Override public void loadFromProperties ( Properties props ) { String strValue = props . getProperty ( container . getSimpleName ( ) + "." + name ) ; if ( strValue == null ) return ; try { int intValue = Integer . parseInt ( strValue ) ; set ( intValue ) ; } catch ( NumberFormatException nfe ) { } }
Loads this constant's settings from the Properties. If they don't exist this will do nothing.