| Constructor and Description |
|---|
Config() |
| Modifier and Type | Method and Description |
|---|---|
void |
args(String... args) |
void |
assign(Map<String,Object> entries) |
void |
clear() |
void |
delete() |
Value<Object> |
entry(String key) |
Object |
get(String key) |
boolean |
has(String key) |
boolean |
is(String key) |
boolean |
isEmpty() |
List<String> |
keys() |
ConfigAlternatives |
or(Config alternative) |
Config |
parent() |
void |
remove(String key) |
Config |
root() |
void |
set(String key,
Object value) |
Config |
sub(List<String> keys) |
Config |
sub(String... keys) |
Map<String,String> |
toFlatMap() |
Map<String,Object> |
toMap() |
Properties |
toProperties() |
String |
toString() |
void |
update(Map<String,?> entries) |
void |
update(Map<String,?> entries,
boolean overridenByEnv) |
public boolean has(String key)
public boolean is(String key)
public void clear()
public void delete()
public void remove(String key)
public boolean isEmpty()
public void args(String... args)
public Config root()
public Config parent()
public Properties toProperties()
public ConfigAlternatives or(Config alternative)
Copyright © 2014–2016 Nikolche Mihajlovski and contributors. All rights reserved.