public String getGlobalSetting ( GlobalSettingKey key ) { if ( globalSettings . containsKey ( key . toString ( ) ) ) return globalSettings . get ( key . toString ( ) ) ; return key . getDefault ( ) ; }
The preferred way of getting a global setting value .