public abstract class AbstractMapConfiguration extends AbstractConfiguration
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
ERROR_KEY_BLANK |
Modifier | Constructor and Description |
---|---|
protected |
AbstractMapConfiguration(java.util.Map<java.lang.String,java.lang.Object> map) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
asFlatMap() |
java.util.ResourceBundle |
asResourceBundle() |
boolean |
containsKey(java.lang.String key)
Searches for the key in this configuration.
|
java.lang.Object |
get(java.lang.String key)
Returns the value associated with the given key.
|
asProperties, convertValue, convertValue, get, getAs, getAs, getAsBoolean, getAsBoolean, getAsDouble, getAsDouble, getAsFloat, getAsFloat, getAsInt, getAsInt, getAsLong, getAsLong, getAsString, getAsString, getAt, getAt, getConverted, getConverted, getConverted, getConverted
protected static final java.lang.String ERROR_KEY_BLANK
protected AbstractMapConfiguration(@Nonnull java.util.Map<java.lang.String,java.lang.Object> map)
public boolean containsKey(@Nonnull java.lang.String key)
Configuration
key
- the key to search@Nonnull public java.util.Map<java.lang.String,java.lang.Object> asFlatMap()
@Nonnull public java.util.ResourceBundle asResourceBundle()
@Nullable public java.lang.Object get(@Nonnull java.lang.String key)
Configuration
key
- the key to search