Package org.opencms.i18n
Class CmsVfsBundleParameters
java.lang.Object
org.opencms.i18n.CmsVfsBundleParameters
Data class containing the parameters for a VFS-based resource bundle.
-
Constructor Summary
ConstructorDescriptionCmsVfsBundleParameters
(String name, String basePath, Locale locale, boolean isDefault, String type) -
Method Summary
-
Constructor Details
-
CmsVfsBundleParameters
public CmsVfsBundleParameters(String name, String basePath, Locale locale, boolean isDefault, String type) - Parameters:
name
- the name of the message bundlebasePath
- the root base path of the message bundlelocale
- the locale of the message bundleisDefault
- true if this is the set of parameters for the default localetype
- a string constant indicating the type of the resource bundle
-
-
Method Details
-
getBasePath
Gets the base path of the resource bundle.- Returns:
- the base path of the resource bundle
-
getLocale
Gets the locale.- Returns:
- the locale
-
getName
Gets the name of the message bundle.- Returns:
- the name of the message bundle
-
getType
Gets the resource bundle type.- Returns:
- the resource bundle type
-
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
-