public abstract class ListResourceBundle extends ResourceBundle
ListResourceBundle is the abstract superclass of classes which provide
resources by implementing the getContents() method to return
the list of resources.ResourceBundleResourceBundle.Controlparent| Constructor and Description |
|---|
ListResourceBundle()
Constructs a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract Object[][] |
getContents()
Returns an
Object array containing the resources of this
ListResourceBundle. |
Enumeration<String> |
getKeys()
Returns the names of the resources contained in this
ResourceBundle. |
Object |
handleGetObject(String key)
Returns the named resource from this
ResourceBundle, or null if the
resource is not found. |
protected Set<String> |
handleKeySet()
Returns a set of the keys in this ResourceBundle but not in its parents.
|
clearCache, clearCache, containsKey, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, keySet, setParentpublic ListResourceBundle()
protected abstract Object[][] getContents()
Object array containing the resources of this
ListResourceBundle. Each element in the array is an array of two
elements, the first is the resource key string and the second is the
resource.Object array containing the resources.public Enumeration<String> getKeys()
ResourceBundleResourceBundle.getKeys in class ResourceBundleEnumeration of the resource names.public final Object handleGetObject(String key)
ResourceBundleResourceBundle, or null if the
resource is not found.handleGetObject in class ResourceBundlekey - the name of the resource.protected Set<String> handleKeySet()
handleKeySet in class ResourceBundle