| java.lang.Object java.util.ResourceBundle java.util.ListResourceBundle
ListResourceBundle | abstract public class ListResourceBundle extends ResourceBundle (Code) | | ListResourceBundle is the abstract superclass of classes which provide
resources by implementing the getContents() method to return
the list of resources.
See Also: ResourceBundle since: 1.1 |
Method Summary | |
abstract protected Object[][] | getContents() Answers an Object array which contains the resources of this
ListResourceBundle. | public Enumeration<String> | getKeys() Answers the names of the resources contained in this ListResourceBundle. | final public Object | handleGetObject(String key) Answers the named resource from this ResourceBundle, or null if the
resource is not found. |
ListResourceBundle | public ListResourceBundle()(Code) | | Constructs a new instance of this class.
|
getContents | abstract protected Object[][] getContents()(Code) | | Answers an Object array which contains the resources of this
ListResourceBundle. Each element in the array is an array of two
elements, the first is the resource key and the second is the resource.
a Object array containing the resources |
getKeys | public Enumeration<String> getKeys()(Code) | | Answers the names of the resources contained in this ListResourceBundle.
an Enumeration of the resource names |
handleGetObject | final public Object handleGetObject(String key)(Code) | | Answers the named resource from this ResourceBundle, or null if the
resource is not found.
Parameters: key - the name of the resource the resource object |
|
|