protected String getStringProperty(String name, String defaultValue) {
        Object value = properties.get(name);
        return value != null ? value.toString() : defaultValue;
    }
protected String getStringProperty(String name, String defaultValue) {
        Object value = properties.get(name);
        return value != null ? value.toString() : defaultValue;
    }
protected String getStringProperty ( String name , String defaultValue ) { Object value = properties . get ( name ) ; return value != null ? value . toString ( ) : defaultValue ; }
Get a property as string.

@param name
The name.
@param defaultValue
The default value.
@return The value.
Get a property as string .