| Modifier and Type | Class and Description |
|---|---|
| private abstract static class | ResourceBundleWrapper.Loader
Loader for bundle instances, for caching. |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private ResourceBundle | |
| private static CacheBase | |
| private static final boolean | |
| private List | |
| private String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected String | |
| public static ResourceBundleWrapper | getBundleInstance(String
string containing the name of the data package.
If null the default ICU package name is used. baseName, String the locale for which a resource bundle is desired localeID, ClassLoader the class object from which to load the resource bundle root, boolean Option to disable locale inheritance.
If true the fallback chain will not be built. disableFallback)Hides com. ICU |
| public Enumeration | getKeys()
Overrides com. |
| protected String | |
| public UResourceBundle | |
| public ULocale | |
| protected Object | handleGetObject(String
the key for the desired object aKey)
Gets an object for the given key from this resource bundle.
|
| private void | |
| private static ResourceBundleWrapper | instantiateBundle(final String baseName, final String localeID, final String defaultID, final ClassLoader root, final boolean disableFallback)
|
| private static boolean |
| baseName | back to summary |
|---|---|
| private String baseName | |
| bundle | back to summary |
|---|---|
| private ResourceBundle bundle | |
| BUNDLE_CACHE | back to summary |
|---|---|
| private static CacheBase<String, ResourceBundleWrapper, ResourceBundleWrapper. | |
| DEBUG | back to summary |
|---|---|
| private static final boolean DEBUG | |
| keys | back to summary |
|---|---|
| private List<String> keys | |
| localeID | back to summary |
|---|---|
| private String localeID | |
| ResourceBundleWrapper | back to summary |
|---|---|
| private ResourceBundleWrapper(ResourceBundle bundle) | |
| getBaseName | back to summary |
|---|---|
| protected String getBaseName() Implements abstract com. Doc from com. ICU | |
| getBundleInstance | back to summary |
|---|---|
| public static ResourceBundleWrapper getBundleInstance(String baseName, String localeID, ClassLoader root, boolean disableFallback) Hides com. Doc from com. ICU
| |
| getKeys | back to summary |
|---|---|
| public Enumeration Overrides com. Doc from com. Returns the keys in this bundle as an enumeration
| |
| getLocaleID | back to summary |
|---|---|
| protected String getLocaleID() Implements abstract com. Doc from com. ICU | |
| getParent | back to summary |
|---|---|
| public UResourceBundle getParent() Implements abstract com. Doc from com. ICU
| |
| getULocale | back to summary |
|---|---|
| public ULocale getULocale() Implements abstract com. Doc from com. ICU | |
| handleGetObject | back to summary |
|---|---|
| protected Object handleGetObject(String aKey) Overrides com. Doc from com. Gets an object for the given key from this resource bundle. Returns null if this resource bundle does not contain an object for the given key.
| |
| initKeysVector | back to summary |
|---|---|
| private void initKeysVector() | |
| instantiateBundle | back to summary |
|---|---|
| private static ResourceBundleWrapper instantiateBundle(final String baseName, final String localeID, final String defaultID, final ClassLoader root, final boolean disableFallback) | |
| localeIDStartsWithLangSubtag | back to summary |
|---|---|
| private static boolean localeIDStartsWithLangSubtag(String localeID, String lang) | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv abstract ResourceBundleWrapper |
| Loader | back to summary |
|---|---|
| private Loader() | |
| load | back to summary |
|---|---|
| pack-priv abstract ResourceBundleWrapper load() | |