SettingsBase
The base class for settings.
Methods |
boolean |
containsKey(String k)
Check if the settings contains the given key.
|
boolean |
containsKey(String k)
Check if the settings contains the given key.
Parameters:
k - the key
Returns:
true if they do
|
boolean |
get(String key, boolean defaultValue)
Get the setting for the given key.
|
boolean |
get(String key, boolean defaultValue)
Get the setting for the given key.
Parameters:
key - the key
defaultValue - the default value
Returns:
the setting
|
int |
get(String key, int defaultValue)
Get the setting for the given key.
|
int |
get(String key, int defaultValue)
Get the setting for the given key.
Parameters:
key - the key
defaultValue - the default value
Returns:
the setting
|
String |
get(String key, String defaultValue)
Get the setting for the given key.
|
String |
get(String key, String defaultValue)
Get the setting for the given key.
Parameters:
key - the key
defaultValue - the default value
Returns:
the setting
|
HashMap |
getSettings()
Get all settings.
|
HashMap |
getSettings()
Get all settings.
Returns:
the settings
|
|