|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.clients.replication.unit.ResourceHelper
ResourceHelper is a utility class with useful methods for internationalization.
It is intended to be used throughout the wt.clients.prodgmmt package as a mechanism
to access values in the resource bundle for the package.
Supported API: true
Extendable: false
Field Summary | |
private static ResourceBundle |
resource
|
private static String |
RESOURCE
|
Constructor Summary | |
ResourceHelper()
|
Method Summary | |
private static WTContext |
getContext()
Get the current WTContext. |
private static ResourceBundle |
getLabelsRB()
Get the labels resource bundle. |
static String |
getLocalizedMessage(String key,
Object[] params)
Return a formatted localized message. |
static String |
getLocalizedValue(String key)
Return a localized message. |
protected static void |
initResources()
Initialize string resources for this component. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static String RESOURCE
private static ResourceBundle resource
Constructor Detail |
public ResourceHelper()
Method Detail |
private static ResourceBundle getLabelsRB()
protected static void initResources()
private static WTContext getContext()
public static String getLocalizedMessage(String key, Object[] params)
key
- the key into the resource bundleparams
- the object values to insert into the message
public static String getLocalizedValue(String key)
key
- the key into the resource bundle
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |