public boolean getBoolean ( String key ) { addToDefaults ( key , null ) ; String value = getRequired ( key ) ; return Boolean . valueOf ( value ) ; }
Returns the Boolean value for the given key . The method fails if the key does not exist .