|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.infoengine.util.IEMessage
Field Summary | |
private String |
messageKey
|
private String |
resourceBundle
|
private Object[] |
textInserts
|
Constructor Summary | |
IEMessage(String rb,
String key,
Object[] params)
Constructs a I*E message with a localizable detailed message. |
Method Summary | |
String |
getLocalizedMessage()
Gets the localized message, for the instance. |
String |
getLocalizedMessage(Locale locale)
Gets the localized message, for passed locale. |
static String |
getLocalizedMessage(String resourceBundle,
String messageKey,
Object[] textInserts)
Gets the localized message, for passed arguments. |
static String |
getLocalizedMessage(String resourceBundle,
String messageKey,
Object[] textInserts,
Locale locale)
Gets the localized message, for passed arguments. |
String |
getMessageIdentifier()
Gets the identity of the message. |
protected void |
setLocalizedMessage(String rb,
String key,
Object[] params)
Sets the localized message for this IEMessage . |
String |
toString()
Returns the localized message, for the instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private String resourceBundle
private String messageKey
private Object[] textInserts
Constructor Detail |
public IEMessage(String rb, String key, Object[] params)
rb
- the name of the base resource bundle subclass
containing the localizable message.key
- the key associated with the localizable messageparams
- an optional set of objects to be formatted
into the localizable message text.Method Detail |
protected void setLocalizedMessage(String rb, String key, Object[] params)
IEMessage
.
rb
- the name of the base resource bundle subclass containing the localizable message.key
- the key associated with the localizable messageparams
- an optional set of objects to be formatted into the localizable message text.public String getLocalizedMessage()
public String getLocalizedMessage(Locale locale)
getLocalizedMessage
in interface LocalizableMessage
locale
- the locale for which to get the localized message.public static String getLocalizedMessage(String resourceBundle, String messageKey, Object[] textInserts)
public static String getLocalizedMessage(String resourceBundle, String messageKey, Object[] textInserts, Locale locale)
locale
- the locale for which to get the localized message.public String getMessageIdentifier()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |