|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.commerce.accesscontrol.policyeditor.util.Resource
Contains a table of resource bundles for PolicyEditor. When the resources for a particular locale are requested for the fist time it will be loaded into the table. Creation date: (6/15/01 10:09:24 AM)
Constructor Summary | |
Resource()
Resource constructor comment. |
Method Summary | |
static java.lang.String |
getMessage(java.lang.String id)
get the nls message for the key |
static java.lang.String |
getMessage(java.lang.String id,
java.util.Locale locale)
get the nls message for the key for the given locale. |
static java.lang.String |
getMessage(java.lang.String id,
java.lang.Object p1)
get the nls message for the key after replacing $$1%% with the string value of object p1. |
static java.lang.String |
getMessage(java.lang.String id,
java.lang.Object p1,
java.util.Locale locale)
get the nls message for the key for the given locale after replacing $$1%% with the string value of object p1. |
static java.lang.String |
getMessage(java.lang.String id,
java.lang.Object p1,
java.lang.Object p2)
get the nls message for the key after replacing $$1%% with the string value of object p1 and $$2%% with the String value of object p2. |
static java.lang.String |
getMessage(java.lang.String id,
java.lang.Object p1,
java.lang.Object p2,
java.util.Locale locale)
get the nls message for the key for the given locale after replacing $$1%% with the string value of object p1 and $$2%% with the String valueof object p2. |
static java.lang.String |
getMessage(java.lang.String id,
java.lang.Object p1,
java.lang.Object p2,
java.lang.Object p3)
get the nls message for the key after replacing $$1%% with the string value of object p1 and $$2%% with the String value of object p2 and so on. |
static java.lang.String |
getMessage(java.lang.String id,
java.lang.Object p1,
java.lang.Object p2,
java.lang.Object p3,
java.util.Locale locale)
get the nls message for the key for the given locale after replacing $$1%% with the string value of object p1 and $$2%% with the String valueof object p2 etc. |
static void |
initialize(java.util.Locale l)
Initialize the resource table. |
static void |
main(java.lang.String[] args)
main entry point of the program. |
static void |
setLocale(java.lang.String language)
Set the current locale of the resource bundle and initialize the resource table. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Resource()
Method Detail |
public static java.lang.String getMessage(java.lang.String id)
String
- key for the nls messagepublic static java.lang.String getMessage(java.lang.String id, java.util.Locale locale)
String
- key for the nls messagepublic static java.lang.String getMessage(java.lang.String id, java.lang.Object p1)
String
- key for the nls messageObject
- p1public static java.lang.String getMessage(java.lang.String id, java.lang.Object p1, java.util.Locale locale)
String
- key for the nls messageObject
- p1Locale
- localepublic static java.lang.String getMessage(java.lang.String id, java.lang.Object p1, java.lang.Object p2)
String
- key for the nls messageObject
- p1Object
- p2public static java.lang.String getMessage(java.lang.String id, java.lang.Object p1, java.lang.Object p2, java.util.Locale locale)
String
- key for the nls messageObject
- p1Object
- p2Locale
- localepublic static java.lang.String getMessage(java.lang.String id, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3)
String
- key for the nls messageObject
- p1Object
- p2Object
- p3public static java.lang.String getMessage(java.lang.String id, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3, java.util.Locale locale)
String
- key for the nls messageObject
- p1Object
- p2Object
- p3Locale
- localepublic static void initialize(java.util.Locale l)
Locale
- new localepublic static void main(java.lang.String[] args)
public static void setLocale(java.lang.String language)
String
- representing locale
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |