public interface Messages
| Modifier and Type | Interface and Description |
|---|---|
static class |
Messages.Attrs |
| Modifier and Type | Method and Description |
|---|---|
play.api.i18n.Messages |
asScala() |
String |
at(List<String> keys,
Object... args)
Get the message at the first defined key.
|
String |
at(String key,
Object... args)
Get the message at the given key.
|
Boolean |
isDefinedAt(String key)
Check if a message key is defined.
|
Lang |
lang()
Get the lang for these messages.
|
Lang lang()
String at(String key, Object... args)
key - the message keyargs - the message argumentsString at(List<String> keys, Object... args)
keys - the messages keysargs - the message argumentsBoolean isDefinedAt(String key)
key - the message keyplay.api.i18n.Messages asScala()