public class ParentChildResourceBundle extends ResourceBundle
ResourceBundle.Controlparent| Constructor and Description |
|---|
ParentChildResourceBundle(ResourceBundle parent,
ResourceBundle child)
Construct a new resource bundle whose content is based on the child
and parent content.
|
| Modifier and Type | Method and Description |
|---|---|
Enumeration<String> |
getKeys() |
Locale |
getLocale() |
protected Object |
handleGetObject(String key) |
clearCache, clearCache, containsKey, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getObject, getString, getStringArray, handleKeySet, keySet, setParentpublic ParentChildResourceBundle(ResourceBundle parent, ResourceBundle child) throws IllegalArgumentException
parent - the parent eventually nullchild - the childIllegalArgumentException - if the child is null or its locale is nullpublic Locale getLocale()
getLocale in class ResourceBundleprotected Object handleGetObject(String key)
handleGetObject in class ResourceBundlepublic Enumeration<String> getKeys()
getKeys in class ResourceBundleCopyright © 2025 JBoss by Red Hat. All Rights Reserved.