|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Message
A message. This is part of the i18n infrastructure. A message is defined by the following properties:
Localizer| Nested Class Summary | |
|---|---|
static class |
Message.Severity
|
| Method Summary | |
|---|---|
void |
addParam(java.lang.String value)
|
void |
addParams(java.lang.Object... values)
|
java.lang.String |
getKey()
Gets the message key |
java.lang.String |
getMessage()
retrieves the localized message with the default locale as defined in the localizer |
java.lang.String |
getMessage(java.util.Locale l)
retrieves the localized message from the localizer according to the locale |
java.util.Collection |
getParams()
Returns an immutable collection of the message params |
Message.Severity |
getSeverity()
the severity is configurable in the spring messages.xml file of the application. |
java.util.Date |
getTimestamp()
|
| Method Detail |
|---|
void addParam(java.lang.String value)
void addParams(java.lang.Object... values)
java.lang.String getKey()
java.lang.String getMessage()
java.lang.String getMessage(java.util.Locale l)
l -
Message.Severity getSeverity()
java.util.Date getTimestamp()
java.util.Collection getParams()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||