public Boolean getBoolean ( String key ) { Boolean bVal = null ; String sVal = getText ( key ) ; if ( ( sVal != null ) && ( sVal . length ( ) > 0 ) ) { bVal = Boolean . valueOf ( sVal ) ; } return bVal ; }
Get a Setting property as a Boolean object .