public class SettingsBase extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
SettingsBase(HashMap<String,String> s) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
containsKey(String k)
Check if the settings contains the given key.
|
protected boolean |
get(String key,
boolean defaultValue)
Get the setting for the given key.
|
protected int |
get(String key,
int defaultValue)
Get the setting for the given key.
|
protected String |
get(String key,
String defaultValue)
Get the setting for the given key.
|
HashMap<String,String> |
getSettings()
Get all settings.
|
protected boolean get(String key, boolean defaultValue)
key - the keydefaultValue - the default valueprotected int get(String key, int defaultValue)
key - the keydefaultValue - the default valueprotected String get(String key, String defaultValue)
key - the keydefaultValue - the default valueprotected boolean containsKey(String k)
k - the keyCopyright © 2012 JBoss by Red Hat. All Rights Reserved.