| Package | Description |
|---|---|
| io.mangoo.configuration | |
| io.mangoo.enums | |
| io.mangoo.i18n |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Config.getBoolean(Key key)
Retrieves a configuration value with the given key constant (e.g.
|
boolean |
Config.getBoolean(Key key,
boolean defaultValue)
Retrieves a configuration value with the given key constant (e.g.
|
int |
Config.getInt(Key key)
Retrieves a configuration value with the given key constant (e.g.
|
int |
Config.getInt(Key key,
int defaultValue)
Retrieves a configuration value with the given key constant (e.g.
|
long |
Config.getLong(Key key)
Retrieves a configuration value with the given key constant (e.g.
|
long |
Config.getLong(Key key,
long defaultValue)
Retrieves a configuration value with the given key constant (e.g.
|
String |
Config.getString(Key key)
Retrieves a configuration value with the given key constant (e.g.
|
String |
Config.getString(Key key,
String defaultValue)
Retrieves a configuration value with the given key constant (e.g.
|
| Modifier and Type | Method and Description |
|---|---|
static Key |
Key.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Key[] |
Key.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
String |
Messages.get(Key key,
Object... arguments)
Returns a localized value for a given key stored in messages_xx.properties and passing the
given arguments
|
Copyright © 2016. All rights reserved.