public interface Configuration
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
asFlatMap() |
Properties |
asProperties() |
ResourceBundle |
asResourceBundle() |
boolean |
containsKey(String key) |
Object |
get(String key) |
<T> T |
get(String key,
T defaultValue) |
boolean |
getAsBoolean(String key) |
boolean |
getAsBoolean(String key,
boolean defaultValue) |
double |
getAsDouble(String key) |
double |
getAsDouble(String key,
double defaultValue) |
float |
getAsFloat(String key) |
float |
getAsFloat(String key,
float defaultValue) |
int |
getAsInt(String key) |
int |
getAsInt(String key,
int defaultValue) |
long |
getAsLong(String key) |
long |
getAsLong(String key,
long defaultValue) |
String |
getAsString(String key) |
String |
getAsString(String key,
String defaultValue) |
Object |
getAt(String key) |
<T> T |
getAt(String key,
T defaultValue) |
@Nonnull ResourceBundle asResourceBundle()
@Nonnull Properties asProperties()