public class ResourceBundleWrapper extends UResourceBundle
ResourceBundle.ControlARRAY, BINARY, INT, INT_VECTOR, NONE, STRING, TABLEparent| Modifier and Type | Method and Description |
|---|---|
protected String |
getBaseName()
Returns the base name of the resource bundle
|
static UResourceBundle |
getBundleInstance(String baseName,
String localeID,
ClassLoader root,
boolean disableFallback) |
Enumeration<String> |
getKeys()
Returns the keys in this bundle as an enumeration
|
protected String |
getLocaleID()
Returns the localeID
|
UResourceBundle |
getParent()
Returns the parent bundle
|
ULocale |
getULocale()
Returns the RFC 3066 conformant locale id of this resource bundle.
|
protected Object |
handleGetObject(String aKey)
Returns the named resource from this
ResourceBundle, or null if the
resource is not found. |
protected static UResourceBundle |
instantiateBundle(String baseName,
String localeID,
ClassLoader root,
boolean disableFallback) |
protected void |
setLoadingStatus(int newStatus)
This method is for setting the loading status of the resource.
|
addToCache, 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, isTopLevelResource, keySet, loadFromCache, resetBundleCacheclearCache, clearCache, containsKey, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getObject, getString, getStringArray, setParentprotected void setLoadingStatus(int newStatus)
UResourceBundlesetLoadingStatus in class UResourceBundleprotected Object handleGetObject(String aKey)
UResourceBundleResourceBundle, or null if the
resource is not found.handleGetObject in class UResourceBundleaKey - the name of the resource.public Enumeration<String> getKeys()
UResourceBundlegetKeys in class UResourceBundleprotected String getLocaleID()
UResourceBundlegetLocaleID in class UResourceBundleprotected String getBaseName()
UResourceBundlegetBaseName in class UResourceBundlepublic ULocale getULocale()
UResourceBundlegetULocale in class UResourceBundlepublic UResourceBundle getParent()
UResourceBundlegetParent in class UResourceBundlepublic static UResourceBundle getBundleInstance(String baseName, String localeID, ClassLoader root, boolean disableFallback)
protected static UResourceBundle instantiateBundle(String baseName, String localeID, ClassLoader root, boolean disableFallback)