
 
The java.util.ListResourceBundle class is an abstract subclass of ResourceBundle that manages resources for a locale in a convenient and easy to use list.
Following is the declaration for java.util.ListResourceBundle class −
public abstract class ListResourceBundle extends ResourceBundle
Fields inherited from class java.util.ResourceBundle.
| Sr.No. | Constructor & Description | 
|---|---|
| 1 | ListResourceBundle() This is the only constructor. | 
| Sr.No. | Method & Description | 
|---|---|
| 1 | protected abstract Object[][] getContents() This method returns an array in which each item is a pair of objects in an Object array. | 
| 2 | Enumeration<String> getKeys() This method returns an Enumeration of the keys contained in this ResourceBundle and its parent bundles. | 
| 3 | Object handleGetObject(String key) This method gets an object for the given key from this resource bundle. | 
| 4 | protected Set<String> handleKeySet() This method returns a Set of the keys contained only in this ResourceBundle. | 
This class inherits methods from the following classes −