|
Oracle® WebCenter Content Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1) E17274-03 |
|||||||||
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 java.lang.String |
RESOURCE_BUNDLE The default resource bundle name to be used |
Constructor Summary | |
---|---|
BaseMessages() |
Method Summary | |
---|---|
static java.util.ResourceBundle |
getResourceBundle() Get the default resource bundle using the default locale |
static java.util.ResourceBundle |
getResourceBundle(java.util.Locale locale) |
static java.util.ResourceBundle |
getResourceBundle(java.lang.String bundleName) Get the resource bundle |
static java.util.ResourceBundle |
getResourceBundle(java.lang.String bundleName, java.util.Locale locale) Get a resource bundle using a specific locale |
static java.lang.String |
getString(java.util.Locale locale, java.lang.String bundleName, java.lang.String key, java.lang.Object... parameters) |
static java.lang.String |
getString(java.lang.String key) Get string for the key from the default bundle |
static java.lang.String |
getString(java.lang.String key, java.lang.Object... arguments) Get the string value for the key |
static java.lang.String |
getString(java.lang.String bundleName, java.lang.String key) Get the string value for the key from a specific bundle |
static java.lang.String |
getString(java.lang.String bundleName, java.lang.String key, java.lang.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 java.lang.String RESOURCE_BUNDLE
Constructor Detail |
---|
public BaseMessages()
Method Detail |
---|
public static java.util.ResourceBundle getResourceBundle()
public static java.util.ResourceBundle getResourceBundle(java.lang.String bundleName)
bundleName
- the bundle namepublic static java.util.ResourceBundle getResourceBundle(java.lang.String bundleName, java.util.Locale locale)
bundleName
- the bundle namelocale
- the localepublic static java.util.ResourceBundle getResourceBundle(java.util.Locale locale)
locale
- the localepublic static java.lang.String getString(java.lang.String key)
key
- the keypublic static java.lang.String getString(java.lang.String bundleName, java.lang.String key)
bundleName
- the bundle namekey
- the keypublic static java.lang.String getString(java.lang.String key, java.lang.Object... arguments)
key
- the keyarguments
- the parameterspublic static java.lang.String getString(java.lang.String bundleName, java.lang.String key, java.lang.Object... arguments)
bundleName
- the name of the bundle to usekey
- the keyarguments
- the parameters to be usedpublic static java.lang.String getString(java.util.Locale locale, java.lang.String bundleName, java.lang.String key, java.lang.Object... parameters)
locale
- the locale for this stringkey
- the keyparameters
- the parameters to be used
|
Oracle® WebCenter Content Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1) E17274-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |