public class ConfigLoader extends Object
| Modifier and Type | Method and Description |
|---|---|
<T> T |
load(Class<T> cls) |
static ConfigLoader |
settings() |
ConfigLoader |
withDefault(String defaultValue) |
ConfigLoader |
withKey(String configKey) |
public static ConfigLoader settings()
public <T> T load(Class<T> cls)
T - any objectcls - classpublic ConfigLoader withDefault(String defaultValue)
defaultValue - default valuepublic ConfigLoader withKey(String configKey)
configKey - config keyCopyright © 2017–2020 Wasiq Bhamla. All rights reserved.