Class CmsVfsBundleParameters

java.lang.Object
org.opencms.i18n.CmsVfsBundleParameters

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

  • Constructor Details

    • CmsVfsBundleParameters

      public CmsVfsBundleParameters(String name, String basePath, Locale locale, boolean isDefault, 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 Details

    • getBasePath

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

      Returns:
      the base path of the resource bundle
    • getLocale

      public Locale getLocale()
      Gets the locale.

      Returns:
      the locale
    • getName

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

      Returns:
      the name of the message bundle
    • getType

      public 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