Android
java.util
public abstract class

java.util.ListResourceBundle

java.lang.Object
java.util.ResourceBundle
java.util.ListResourceBundle

ListResourceBundle is the abstract superclass of classes which provide resources by implementing the getContents() method to return the list of resources.

See Also

Summary

Fields inherited from class java.util.ResourceBundle

Public Constructors

            ListResourceBundle()
Constructs a new instance of this class.

Public Methods

          Enumeration<String getKeys()
Returns the names of the resources contained in this ListResourceBundle.
    final      Object  handleGetObject(String key)
Returns the named resource from this ResourceBundle, or null if the resource is not found.

Protected Methods

abstract          Object[][]  getContents()
Returns an Object array which contains the resources of this ListResourceBundle.
Methods inherited from class java.util.ResourceBundle
Methods inherited from class java.lang.Object

Details

Public Constructors

public ListResourceBundle()

Constructs a new instance of this class.

Public Methods

public Enumeration<String> getKeys()

Returns the names of the resources contained in this ListResourceBundle.

Returns

  • an Enumeration of the resource names

public final Object handleGetObject(String key)

Returns the named resource from this ResourceBundle, or null if the resource is not found.

Parameters

key the name of the resource

Returns

  • the resource object

Protected Methods

protected abstract Object[][] getContents()

Returns 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.

Returns

  • a Object array containing the resources
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48