public Boolean getConfigValueBoolean ( String key , Boolean dflt ) { try { String value = getConfigValue ( key ) ; return value == null ? dflt : Boolean . parseBoolean ( value ) ; } catch ( Exception e ) { return dflt ; } }
This is a convenience method for returning a named configuration value that is expected to be a Boolean value .