Class CombinedResources


  • public class CombinedResources
    extends java.util.ResourceBundle
    A specialization of a resource bundle.
    Since:
    2.0
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.ResourceBundle

        java.util.ResourceBundle.Control
    • Field Summary

      • Fields inherited from class java.util.ResourceBundle

        parent
    • Constructor Summary

      Constructors 
      Constructor Description
      CombinedResources​(java.lang.String resourceName)
      Constructs a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Enumeration<java.lang.String> getKeys()  
      java.lang.String getResourceName()
      Gets the resource name.
      protected java.lang.Object handleGetObject​(java.lang.String key)  
      protected void init()
      Initializes this instance.
      protected void loadResources​(java.lang.String resourceName)
      Loads a resource.
      protected void loadResources​(java.util.Locale locale)
      Loads resources.
      • Methods inherited from class java.util.ResourceBundle

        clearCache, clearCache, containsKey, getBaseBundleName, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, handleKeySet, keySet, setParent
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CombinedResources

        public CombinedResources​(java.lang.String resourceName)
        Constructs a new instance.
        Parameters:
        resourceName - A resource name.
    • Method Detail

      • getKeys

        public java.util.Enumeration<java.lang.String> getKeys()
        Specified by:
        getKeys in class java.util.ResourceBundle
      • getResourceName

        public java.lang.String getResourceName()
        Gets the resource name.
        Returns:
        the resource name.
      • handleGetObject

        protected java.lang.Object handleGetObject​(java.lang.String key)
        Specified by:
        handleGetObject in class java.util.ResourceBundle
      • init

        protected void init()
        Initializes this instance.
      • loadResources

        protected void loadResources​(java.util.Locale locale)
        Loads resources.
        Parameters:
        locale - a Locale.
      • loadResources

        protected void loadResources​(java.lang.String resourceName)
        Loads a resource.
        Parameters:
        resourceName - the resource to load.