public interface Configuration
| Modifier and Type | Method and Description |
|---|---|
Optional<Object> |
get(String key)
Get object.
|
<T> Optional<T> |
get(String key,
Class<T> type)
Get t.
|
<T> T |
get(String key,
T defaultValue,
Class<T> type)
Get t.
|
String |
getString(String key)
Gets string.
|
String |
getString(String key,
String defaultVal)
Gets string.
|
String getString(String key, String defaultVal)
key - the keydefaultVal - the default val<T> Optional<T> get(String key, Class<T> type)
T - the type parameterkey - the keytype - the typeCopyright © 2019. All rights reserved.