public interface Message
| Modifier and Type | Method and Description |
|---|---|
MessageContext |
getContext()
Gets the message context for this message.
|
String |
getId()
Gets the unique ID of this message.
|
String[] |
getParams()
Gets params for this message.
|
String |
getText(Locale loc)
Gets the message text this message object represents.
|
Map<String,String> |
getTokens()
Gets tokens or placeholders for this message.
|
void |
setTokens(Map<String,String> tokens)
Sets tokens or placeholders for this message.
|
String getId()
MessageContext getContext()
String getText(Locale loc)
loc - The locale of the message.void setTokens(Map<String,String> tokens)
tokens - The tokens for this message.String[] getParams()
Copyright © 2015. All Rights Reserved.