|
Oracle Fusion Middleware Management Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.jps.util.JpsBundle
public final class JpsBundle
This class manages the resource bundles used by the JPS.
Method Summary | |
---|---|
static JpsBundle |
getResourceBundle(JpsBundleType resourceType) Returns the appropriate resource bundle based on the passed type |
static JpsBundle |
getResourceBundle(JpsBundleType resourceType, java.util.Enumeration locales) Returns the resource bundle with the highest weight from the list of locales |
static JpsBundle |
getResourceBundle(JpsBundleType bundleType, java.util.Locale locale) Returns the appropriate resource bundle based on the passed type |
java.util.Locale |
getResourceLocale() Returns the locale of this resource |
java.lang.String |
getString(java.lang.String key) This method finds the message from the appropriate bundle for the given key If the expected bundle is not initialized because its name is invalid or the bundle is initialized but it does not have the given key then it will fall back to use the base bundle i.e. |
java.lang.String |
getString(java.lang.String key, java.lang.Object[] params) Returns the formated string based on passed parameter |
java.lang.String |
getString(java.lang.String key, java.lang.String param) Returns the formated string based on passed parameter |
boolean |
isLocaleRTL() determine if the locale for this resource is a RTL language typically, this is limited to Hebrew (iw, he) or Arabic (ar) |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static JpsBundle getResourceBundle(JpsBundleType resourceType)
resourceType
- - The JpsBundleTypepublic static JpsBundle getResourceBundle(JpsBundleType bundleType, java.util.Locale locale)
bundleType
- - The JpsBundleTypelocale
- - The localepublic static JpsBundle getResourceBundle(JpsBundleType resourceType, java.util.Enumeration locales)
resourceType
- - The JpsBundleTypelocales
- - The list of all localespublic java.lang.String getString(java.lang.String key)
key
- The key name for which to get the value ofpublic java.lang.String getString(java.lang.String key, java.lang.String param)
key
- The keyparam
- value passed dynamicallypublic java.lang.String getString(java.lang.String key, java.lang.Object[] params)
key
- The keyparams
- An Array of values passed dynamicallypublic java.util.Locale getResourceLocale()
public boolean isLocaleRTL()
|
Oracle Fusion Middleware Management Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |