public interface Config
Modifier and Type | Method and Description |
---|---|
<T> T |
getValue(java.lang.String key)
Get the value of a setting.
|
<T> T |
getValue(java.lang.String key,
T defaultVal)
Get the value of a setting, returning the default if the value is not present.
|
<T> T getValue(java.lang.String key)
T
- This is the type parameterkey
- The flattened configuration setting key.<T> T getValue(java.lang.String key, T defaultVal)
T
- This is the type parameterkey
- The flattened configuration setting key.defaultVal
- The default value to return if the given key is not present.