Class ResourceBundleWrapper
java.lang.Object
java.util.ResourceBundle
org.graalvm.shadowed.com.ibm.icu.util.UResourceBundle
org.graalvm.shadowed.com.ibm.icu.impl.ResourceBundleWrapper
just a wrapper for Java ListResourceBundles and
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.ResourceBundle
ResourceBundle.Control -
Field Summary
Fields inherited from class org.graalvm.shadowed.com.ibm.icu.util.UResourceBundle
ARRAY, BINARY, INT, INT_VECTOR, NONE, STRING, TABLEFields inherited from class java.util.ResourceBundle
parent -
Method Summary
Modifier and TypeMethodDescriptionprotected StringReturns the base name of the resource bundlestatic ResourceBundleWrappergetBundleInstance(String baseName, String localeID, ClassLoader root, boolean disableFallback) getKeys()Returns the keys in this bundle as an enumerationprotected StringReturns the localeIDReturns the parent bundleReturns the RFC 3066 conformant locale id of this resource bundle.protected ObjecthandleGetObject(String aKey) Methods inherited from class org.graalvm.shadowed.com.ibm.icu.util.UResourceBundle
findTopLevel, findTopLevel, get, get, getBinary, getBinary, getBundleInstance, getBundleInstance, getBundleInstance, getBundleInstance, getBundleInstance, getBundleInstance, getBundleInstance, getBundleInstance, getInt, getIntVector, getIterator, getKey, getLocale, getSize, getString, getString, getStringArray, getType, getUInt, getVersion, handleGet, handleGet, handleGetKeys, handleGetStringArray, handleKeySet, instantiateBundle, isTopLevelResource, keySetMethods inherited from class java.util.ResourceBundle
clearCache, clearCache, containsKey, getBaseBundleName, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getObject, getString, getStringArray, setParent
-
Method Details
-
handleGetObject
Description copied from class:UResourceBundle- Overrides:
handleGetObjectin classUResourceBundle
-
getKeys
Description copied from class:UResourceBundleReturns the keys in this bundle as an enumeration- Overrides:
getKeysin classUResourceBundle- Returns:
- an enumeration containing key strings, which is empty if this is not a bundle or a table resource
-
getLocaleID
Description copied from class:UResourceBundleReturns the localeID- Specified by:
getLocaleIDin classUResourceBundle- Returns:
- The string representation of the localeID
-
getBaseName
Description copied from class:UResourceBundleReturns the base name of the resource bundle- Specified by:
getBaseNamein classUResourceBundle- Returns:
- The string representation of the base name
-
getULocale
Description copied from class:UResourceBundleReturns the RFC 3066 conformant locale id of this resource bundle. This method can be used after a call to getBundleInstance() to determine whether the resource bundle returned really corresponds to the requested locale or is a fallback.- Specified by:
getULocalein classUResourceBundle- Returns:
- the locale of this resource bundle
-
getParent
Description copied from class:UResourceBundleReturns the parent bundle- Specified by:
getParentin classUResourceBundle- Returns:
- The parent bundle
-
getBundleInstance
public static ResourceBundleWrapper getBundleInstance(String baseName, String localeID, ClassLoader root, boolean disableFallback)
-