|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.intel.gpe.client2.filemanager.i18n.MessageBundle
public class MessageBundle
Message bundle. Retrieving and formatting messages.
| Method Summary | |
|---|---|
static MessageBundle |
getInstance(java.lang.String bundle)
|
static MessageBundle |
getInstance(java.lang.String bundle,
java.util.Locale locale)
Get the instance of the message bundle for the specified bundle name |
java.lang.String |
getMessage(java.lang.String key)
Get message by key |
java.lang.String |
getMessage(java.lang.String key,
java.lang.Object[] objects)
Get the message identified by key and parametrized with the list of objects |
java.lang.String |
getMessageExt(java.lang.String key,
java.lang.Object... objects)
Get the message identified by key and parametrized with the list of objects |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getMessage(java.lang.String key)
key - - the key
public java.lang.String getMessage(java.lang.String key,
java.lang.Object[] objects)
key - - the message keyobjects - - the format function parameters
public java.lang.String getMessageExt(java.lang.String key,
java.lang.Object... objects)
key - - the message keyobjects - - the format function parameters
public static MessageBundle getInstance(java.lang.String bundle,
java.util.Locale locale)
bundle - - the bundle name
public static MessageBundle getInstance(java.lang.String bundle)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||