|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jdiseq.util.MessageUtil
MessageUtil class which holds references to localized messages.
| Method Summary | |
protected java.util.ResourceBundle |
createBundle(java.lang.String messageFile,
java.util.Locale locale)
Initializes the bundle towards the message file |
static MessageUtil |
getInstance()
Initializes the MessageUtil class. |
java.lang.String |
getMessage(java.lang.String messageKey)
Retrieved the text message for a given locale. |
static void |
initialize(java.util.Locale locale)
Initializes the class with the given locale. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static void initialize(java.util.Locale locale)
MessageUtil will use default locale.
locale - given by the applicationpublic static MessageUtil getInstance()
MessageUtil class.
MessageUtilpublic java.lang.String getMessage(java.lang.String messageKey)
messageKey - key for getting the localized messages
protected java.util.ResourceBundle createBundle(java.lang.String messageFile,
java.util.Locale locale)
messageFile - name of the file containing the messageslocale - for the running application
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||