Package org.opencms.i18n
Class CmsVfsBundleParameters
- java.lang.Object
-
- org.opencms.i18n.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.
-
-
-
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 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 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
-
-