public static Integer getIntegerProperty ( Properties properties , String key ) { String property = getStringProperty ( properties , key ) ; if ( property == null ) { return null ; } Integer value ; try { value = Integer . parseInt ( property ) ; } catch ( RuntimeException e ) { throw new ODataClientRuntimeException ( "Unable to parse property. " + property , e ) ; } return value ; }
Get an integer property from the properties .