Java.util.ListResourceBundle Class

Advertisements


Introduction

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.

Class declaration

Following is the declaration for java.util.ListResourceBundle class:

public abstract class ListResourceBundle
    extends ResourceBundle

Field

Fields inherited from class java.util.ResourceBundle.

Class constructors

S.N.Constructor & Description
1ListResourceBundle()
This is the only constructor.

Class methods

S.N.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.

Methods inherited

This class inherits methods from the following classes:

  • java.util.ResourceBundle

  • java.util.Object




Advertisements
Advertisements