Class CmsVfsResourceBundle

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  CmsVfsResourceBundle.I_Loader
      Implementors of this interface are responsible for actually loading the data from the VFS.
      • Nested classes/interfaces inherited from class java.util.ResourceBundle

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CmsVfsResourceBundle getClone()
      Creates a clone of the resource bundle.
      protected java.lang.String getFilePath()
      Returns the path of the file to read the message data from.
      java.util.Enumeration<java.lang.String> getKeys()  
      java.util.Locale getLocale()  
      CmsVfsBundleParameters getParameters()
      Gets the bundle parameters.
      protected java.lang.Object handleGetObject​(java.lang.String key)  
      protected java.util.Set<java.lang.String> handleKeySet()  
      static void setCmsObject​(CmsObject cms)
      Sets the CMS context used by this class.
      void setLocale​(java.util.Locale locale)
      Sets the locale used for this resource bundle.
      void setParent​(java.util.ResourceBundle p)
      Sets the parent bundle.
      • Methods inherited from class java.util.ResourceBundle

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

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

      • setCmsObject

        public static void setCmsObject​(CmsObject cms)
        Sets the CMS context used by this class.

        This can be never called more than once, and is usually called on startup.

        cms - the CMS context to set
      • getKeys

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

        public java.util.Locale getLocale()
        getLocale in class java.util.ResourceBundle
        See Also:
      • setParent

        public void setParent​(java.util.ResourceBundle p)
        Description copied from interface: I_CmsResourceBundle
        Sets the parent bundle.

        Specified by:
        setParent in interface I_CmsResourceBundle
        setParent in class java.util.ResourceBundle
        p - the parent bundle to set
        See Also:
      • getFilePath

        protected java.lang.String getFilePath()
        Returns the path of the file to read the message data from.

        the root path of the file containing the message data
      • handleGetObject

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

        protected java.util.Set<java.lang.String> handleKeySet()
        handleKeySet in class java.util.ResourceBundle
        See Also: