public class LocalizableMessage extends SimpleMessage
SimpleMessage.| Constructor and Description |
|---|
LocalizableMessage(String messageKey,
Object... parameter)
Creates a new LocalizableMessage with the message key provided, and optionally zero or more
replacement parameters to use in the message.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Generated equals method which will return true if the other object is of the same
type as this instance, and would produce the same user message.
|
String |
getMessageKey() |
protected String |
getMessageTemplate(Locale locale)
Method responsible for using the information supplied to the message object to find a
message template.
|
int |
hashCode()
Generated hashCode method.
|
getMessage, getMessage, getReplacementParameterspublic LocalizableMessage(String messageKey, Object... parameter)
messageKey - a key to lookup a message in the resource bundleparameter - one or more replacement parameters to insert into the messageprotected String getMessageTemplate(Locale locale)
getMessageTemplate in class SimpleMessagelocale - the Locale of the message template desiredpublic boolean equals(Object o)
equals in class SimpleMessageo - an instance of LocalizableMessage or subclass thereofpublic int hashCode()
hashCode in class SimpleMessagepublic String getMessageKey()
© Copyright 2005-2006, Stripes Development Team.