|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.clients.widgets.MessageManager
------------------------------------------------------------ This class contains several methods which will be useful when doing the internationalization and localization on the exception handling and the message display.
Field Summary | |
static int |
MAX
Constant for the maximum of characters on the message dialog. |
Constructor Summary | |
MessageManager()
|
Method Summary | |
static String |
chop(String msg)
Method to chop the long exception messages into several lines. |
static String |
getLocalizedMessage(ResourceBundle bundle,
String key,
Object[] params)
Deprecated. |
static String |
getLocalizedValue(ResourceBundle bundle,
String key)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int MAX
Constructor Detail |
public MessageManager()
Method Detail |
public static String chop(String msg)
msg
- Message to be chopped
public static String getLocalizedMessage(ResourceBundle bundle, String key, Object[] params)
bundle
- The resource bundle to find the keykey
- the key into the resource bundleparams
- array of parameters used to format the message
public static String getLocalizedValue(ResourceBundle bundle, String key)
bundle
- The resource bundle to find the keykey
- the key into the resource bundle
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |