public class Configurator extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIGURATION_FILE |
| Constructor and Description |
|---|
Configurator() |
| Modifier and Type | Method and Description |
|---|---|
void |
forgetAll() |
Object |
getProperty(Class<?> clazz,
Object key) |
Configurator |
set(Function<Object,Object> custom) |
Configurator |
setLogger(Consumer<String> log) |
public static final String CONFIGURATION_FILE
public Configurator set(Function<Object,Object> custom)
public Configurator setLogger(Consumer<String> log)
public Object getProperty(Class<?> clazz, Object key)
clazz - is used to locate the properties @see
java.lang.Class#getResourceAsStreamkey - to be resolvedpublic void forgetAll()
Copyright © 2013–2017 Adam Bien. All rights reserved.