public String getString ( String propertyPath , String defaultValue ) { Object o = getValue ( propertyPath , defaultValue ) ; if ( o != null ) { return o . toString ( ) ; } else { // if the defaultValue is null return ( String ) o ; } }
Get the String - value from the property path . If the property path does not exist the default value is returned .