|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Messages
Represents message strings that can be substituted with runtime context information.
Nested Class Summary | |
---|---|
static interface |
Messages.MessageID
|
Method Summary | |
---|---|
String |
getMessage(Messages.MessageID id)
Get the globalized message for the given MessageID. |
String |
getMessage(Messages.MessageID id,
Object[] args)
Get the globalized message for the given MessageID. |
String |
getMessage(String id)
Get the globalized message for the given String identifier. |
String |
getMessage(String id,
Object[] args)
Get the globalized message for the given String identifier. |
Method Detail |
---|
String getMessage(String id, Object[] args)
id
- Identifier of the requested string.args
- Substitutable arguments to be inserted into the result string.
String getMessage(String id)
id
- Identifier of the requested string.
String getMessage(Messages.MessageID id, Object[] args)
id
- Identifier of the requested message.args
- Substitutable arguments to be inserted into the result string.
String getMessage(Messages.MessageID id)
id
- Identifier of the requested string.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |