public boolean getBoolean ( String key , boolean def ) { try { if ( ! contains ( key ) ) { return def ; } return ( Boolean ) get ( key ) ; } catch ( Exception e ) { return def ; } }
Getter for a boolean value .