public int getInteger ( String property ) { return getProperty ( property , value -> { try { return Integer . valueOf ( value ) ; } catch ( NumberFormatException e ) { throw new ConfigurationException ( "malformed property value: " + property + " must be an integer" ) ; } } ) ; }
Reads an integer property .