public abstract class AbstractConfigMap extends Object implements ConfigMap
ConfigMap
implementations.Constructor and Description |
---|
AbstractConfigMap() |
Modifier and Type | Method and Description |
---|---|
String |
get(String key,
String dflt)
Returns the property value associated with a given key.
|
boolean |
getBoolean(String key)
Get an boolean value associated with a given key.
|
boolean |
getBoolean(String key,
boolean dflt)
Get an boolean value associated with a given key.
|
double |
getDouble(String key)
Get an double value associated with a given key.
|
double |
getDouble(String key,
double dflt)
Get an double value associated with a given key.
|
int |
getInt(String key)
Get an int value associated with a given key.
|
int |
getInt(String key,
int dflt)
Get an int value associated with a given key.
|
long |
getLong(String key)
Get an long value associated with a given key.
|
long |
getLong(String key,
long dflt)
Get an long value associated with a given key.
|
public String get(String key, String dflt)
ConfigMap
public int getInt(String key)
ConfigMap
public int getInt(String key, int dflt)
ConfigMap
public long getLong(String key)
ConfigMap
public long getLong(String key, long dflt)
ConfigMap
public double getDouble(String key)
ConfigMap
public double getDouble(String key, double dflt)
ConfigMap
public boolean getBoolean(String key)
ConfigMap
getBoolean
in interface ConfigMap
key
- Property name to lookup.public boolean getBoolean(String key, boolean dflt)
ConfigMap
getBoolean
in interface ConfigMap
key
- Property name to lookup.dflt
- Default value to return if the property is not set.dflt
if not set.