public interface MessageBundle
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
formatMessage(java.lang.String key,
java.lang.Object... params)
Get localized message from the message pack associated with this frame or window, and use it as a format string
for parameters provided.
|
java.lang.String |
getMessage(java.lang.String key)
Get localized message from the message pack associated with this frame or window.
|
java.lang.String |
getMessagesPack() |
void |
setMessagesPack(java.lang.String messagePack)
Sets source message pack.
|
static final java.lang.String NAME
void setMessagesPack(java.lang.String messagePack)
messagePack
- associated message packjava.lang.String getMessagesPack()
java.lang.String getMessage(java.lang.String key)
key
- message keyMessages.getMessage(String, String)
java.lang.String formatMessage(java.lang.String key, java.lang.Object... params)
key
- message keyparams
- parameter valuesMessages.formatMessage(String, String, Object...)