|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.websphere.samples.i18nctx.currencyexchangelibrary.Resources
public class Resources
Class Resources provides support for retrieving messages from the sampi18nctx resource bundle(s).
| Field Summary | |
|---|---|
static java.lang.String[] |
MSGKEYS
|
static java.lang.String |
SAMPLE_RESOURCE_BUNDLE
|
| Constructor Summary | |
|---|---|
Resources()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getMsg(java.lang.String key)
Retrieve a message from resource bundle. |
static java.lang.String[] |
getMsgs(java.lang.String[] key)
Retrieve message from resource bundle. |
static double[] |
getRates()
Retrieve exchange rates from the specified resource bundle. |
static void |
setResourceBundle(java.util.Locale locale)
Reset the resource bundle to one for a specific locale. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SAMPLE_RESOURCE_BUNDLE
public static final java.lang.String[] MSGKEYS
| Constructor Detail |
|---|
public Resources()
| Method Detail |
|---|
public static java.lang.String getMsg(java.lang.String key)
public static java.lang.String[] getMsgs(java.lang.String[] key)
public static double[] getRates()
public static void setResourceBundle(java.util.Locale locale)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||