public Boolean getBoolean(String key, Boolean defaultValue) throws SyntaxException
    {
        String value = getSimple(key);
        return (value == null) ? defaultValue : value.toLowerCase().matches("(1|true|yes)");
    }
public Boolean getBoolean ( String key , Boolean defaultValue ) throws SyntaxException { String value = getSimple ( key ) ; return ( value == null ) ? defaultValue : value . toLowerCase ( ) . matches ( "(1|true|yes)" ) ; }
Return a property value, typed as a Boolean