public final boolean getBoolean ( final String property ) { final String val = properties . get ( property ) . trim ( ) . toUpperCase ( ) ; if ( val . equals ( "1" ) ) return true ; if ( val . equals ( "TRUE" ) ) return true ; if ( val . equals ( "YES" ) ) return true ; return false ; }
Returns the given property as a boolean