public int getInt ( String propertyPath , int defaultValue ) { Object o = getValue ( propertyPath , defaultValue ) ; return Integer . parseInt ( o . toString ( ) ) ; }
Get the int - value from the property path . If the property path does not exist the default value is returned .