Class CmsVfsBundleParameters


  • public class CmsVfsBundleParameters
    extends java.lang.Object
    Data class containing the parameters for a VFS-based resource bundle.

    • Constructor Summary

      Constructors 
      Constructor Description
      CmsVfsBundleParameters​(java.lang.String name, java.lang.String basePath, java.util.Locale locale, boolean isDefault, java.lang.String type)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBasePath()
      Gets the base path of the resource bundle.
      java.util.Locale getLocale()
      Gets the locale.
      java.lang.String getName()
      Gets the name of the message bundle.
      java.lang.String getType()
      Gets the resource bundle type.
      boolean isDefault()
      Returns true if this is the set of parameters for the default message bundle.
      • Methods inherited from class java.lang.Object

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

      • CmsVfsBundleParameters

        public CmsVfsBundleParameters​(java.lang.String name,
                                      java.lang.String basePath,
                                      java.util.Locale locale,
                                      boolean isDefault,
                                      java.lang.String type)
        Parameters:
        name - the name of the message bundle
        basePath - the root base path of the message bundle
        locale - the locale of the message bundle
        isDefault - true if this is the set of parameters for the default locale
        type - a string constant indicating the type of the resource bundle
    • Method Detail

      • getBasePath

        public java.lang.String getBasePath()
        Gets the base path of the resource bundle.

        Returns:
        the base path of the resource bundle
      • getLocale

        public java.util.Locale getLocale()
        Gets the locale.

        Returns:
        the locale
      • getName

        public java.lang.String getName()
        Gets the name of the message bundle.

        Returns:
        the name of the message bundle
      • getType

        public java.lang.String getType()
        Gets the resource bundle type.

        Returns:
        the resource bundle type
      • isDefault

        public boolean isDefault()
        Returns true if this is the set of parameters for the default message bundle.

        Returns:
        true if this is the set of parameters for the default message bundle