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