Package java.util

Class ListResourceBundle

    • Constructor Detail

      • ListResourceBundle

        public ListResourceBundle()
        Constructs a new instance of this class.
    • Method Detail

      • getContents

        protected abstract Object[][] getContents()
        Returns an Object array containing the resources of this ListResourceBundle. Each element in the array is an array of two elements, the first is the resource key string and the second is the resource.
        Returns:
        a Object array containing the resources.
      • handleGetObject

        public final Object handleGetObject​(String key)
        Description copied from class: ResourceBundle
        Returns the named resource from this ResourceBundle, or null if the resource is not found.
        Specified by:
        handleGetObject in class ResourceBundle
        Parameters:
        key - the name of the resource.
        Returns:
        the resource object.
      • handleKeySet

        protected Set<String> handleKeySet()
        Returns a set of the keys in this ResourceBundle but not in its parents.
        Overrides:
        handleKeySet in class ResourceBundle
        Returns:
        a set of the keys in this ResourceBundle but not in its parents.
        Since:
        1.6