|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.rcp.xui.g11n.MessageHelper
public class MessageHelper
Helper class to deal with globalization problem
Constructor Summary | |
---|---|
MessageHelper()
|
Method Summary | |
---|---|
static java.lang.String |
getKey(java.lang.String value)
Get key property from desired string |
static java.lang.String |
getMsg(java.lang.String filePath,
java.lang.String key)
Get globalized String from the given key and resource bundle file path |
static java.lang.String |
getMsg(java.lang.String filePath,
java.lang.String key,
java.lang.Object[] args)
Get globalized String from the given key, resource bundle file path and arguments |
static java.lang.String |
getXUIMsg(java.lang.String key)
Get globalized String from the given key |
static java.lang.String |
getXUIMsg(java.lang.String key,
java.lang.Object[] args)
Get globalized String from the given key and arguments |
static boolean |
isI18NMsg(java.lang.String value)
Check if this String can be globalized. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageHelper()
Method Detail |
---|
public static java.lang.String getXUIMsg(java.lang.String key)
key
- the key for the desired string
public static java.lang.String getXUIMsg(java.lang.String key, java.lang.Object[] args)
key
- the key for the desired stringargs
- an array of objects to be formatted and substituted.
public static java.lang.String getMsg(java.lang.String filePath, java.lang.String key)
filePath
- resource bundle file pathkey
- the key for the desired string
public static java.lang.String getMsg(java.lang.String filePath, java.lang.String key, java.lang.Object[] args)
filePath
- resource bundle file pathkey
- the key for the desired stringargs
- an array of objects to be formatted and substituted.
public static boolean isI18NMsg(java.lang.String value)
value
- desired string
public static java.lang.String getKey(java.lang.String value)
value
-
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |