public int getInt(String propertyPath, int defaultValue) {
		Object o = getValue(propertyPath, defaultValue);
		return Integer.parseInt(o.toString());
	}
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.

@param propertyPath
Example: foo.bar.key
@param defaultValue
is returned when the propertyPath does not exist
@return the value for the given propertyPath