|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.stellent.ridc.i18n.locale.BaseMessages
public class BaseMessages
Base class for the Messages which takes care of the plumbing for the Resource Bundles.
Field Summary | |
---|---|
static String |
RESOURCE_BUNDLE The default resource bundle name to be used |
Constructor Summary | |
---|---|
BaseMessages() |
Method Summary | |
---|---|
static ResourceBundle |
getResourceBundle() Get the default resource bundle using the default locale |
static ResourceBundle |
getResourceBundle(Locale locale) |
static ResourceBundle |
getResourceBundle(String bundleName) Get the resource bundle |
static ResourceBundle |
getResourceBundle(String bundleName, Locale locale) Get a resource bundle using a specific locale |
static String |
getString(Locale locale, String bundleName, String key, Object... parameters) |
static String |
getString(String key) Get string for the key from the default bundle |
static String |
getString(String key, Object... arguments) Get the string value for the key |
static String |
getString(String bundleName, String key) Get the string value for the key from a specific bundle |
static String |
getString(String bundleName, String key, Object... arguments) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String RESOURCE_BUNDLE
Constructor Detail |
---|
public BaseMessages()
Method Detail |
---|
public static ResourceBundle getResourceBundle()
public static ResourceBundle getResourceBundle(String bundleName)
bundleName
- the bundle namepublic static ResourceBundle getResourceBundle(String bundleName, Locale locale)
bundleName
- the bundle namelocale
- the localepublic static ResourceBundle getResourceBundle(Locale locale)
locale
- the localepublic static String getString(String key)
key
- the keypublic static String getString(String bundleName, String key)
bundleName
- the bundle namekey
- the keypublic static String getString(String key, Object... arguments)
key
- the keyarguments
- the parameterspublic static String getString(String bundleName, String key, Object... arguments)
bundleName
- the name of the bundle to usekey
- the keyarguments
- the parameters to be usedpublic static String getString(Locale locale, String bundleName, String key, Object... parameters)
locale
- the locale for this stringkey
- the keyparameters
- the parameters to be used
|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |