public class ClusterPreferencesImpl extends Object implements ClusterPreferences
| Modifier and Type | Field and Description |
|---|---|
static ClusterPreferences |
EMPTY |
| Constructor and Description |
|---|
ClusterPreferencesImpl(Map<String,String> map) |
ClusterPreferencesImpl(Properties props) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBoolean(String key,
boolean dflt) |
int |
getInt(String key,
int dflt) |
Map<String,String> |
getPreferences() |
String |
getString(String key) |
String |
getTrimmedString(String key,
String dflt)
Trims the value, returning dflt if the trimmed value is empty or null
|
Set<String> |
keys() |
public static final ClusterPreferences EMPTY
public ClusterPreferencesImpl(Properties props)
public Set<String> keys()
keys in interface ClusterPreferencespublic String getTrimmedString(String key, String dflt)
ClusterPreferencesgetTrimmedString in interface ClusterPreferencespublic int getInt(String key, int dflt)
getInt in interface ClusterPreferencespublic String getString(String key)
getString in interface ClusterPreferencespublic boolean getBoolean(String key, boolean dflt)
getBoolean in interface ClusterPreferencesCopyright © 2015 Actian Corporation. All Rights Reserved.