public class SimpleConfigurationKey extends java.lang.Object implements ConfigurationKey
| Constructor and Description |
|---|
SimpleConfigurationKey(java.lang.String key,
java.lang.Object defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
get() |
java.lang.Object |
getDefaultValue()
The set of supported value types which can be automatically converted
consist of
String, Boolean, Integer and
Long. |
java.lang.String |
toString() |
public SimpleConfigurationKey(java.lang.String key,
java.lang.Object defaultValue)
key - defaultValue - public java.lang.String get()
get in interface ConfigurationKeypublic java.lang.Object getDefaultValue()
ConfigurationKeyString, Boolean, Integer and
Long.getDefaultValue in interface ConfigurationKeypublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2013. All Rights Reserved.