📜  Java.util.ListResourceBundle类

📅  最后修改于: 2020-11-14 06:19:31             🧑  作者: Mango


介绍

java.util.ListResourceBundle类是ResourceBundle的抽象子类,它在方便易用的列表中管理区域设置的资源。

类声明

以下是java.util.ListResourceBundle类的声明-

public abstract class ListResourceBundle
   extends ResourceBundle

领域

从类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 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 handleKeySet()

This method returns a Set of the keys contained only in this ResourceBundle.

方法继承

此类从以下类继承方法-

  • java.util.ResourceBundle
  • java.util.Object