Package org.opencms.i18n
Class CmsVfsBundleLoaderProperties
- java.lang.Object
-
- org.opencms.i18n.CmsVfsBundleLoaderProperties
-
- All Implemented Interfaces:
CmsVfsResourceBundle.I_Loader
public class CmsVfsBundleLoaderProperties extends java.lang.Object implements CmsVfsResourceBundle.I_Loader
Loads message bundles from .properties files in the VFS.The paths of the properties files are formed from the base path in the bundle parameters, the locale, and the .properties suffix.
-
-
Constructor Summary
Constructors Constructor Description CmsVfsBundleLoaderProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.util.Locale,java.util.Map<java.lang.String,java.lang.String>>
loadData(CmsObject cms, CmsVfsBundleParameters params)
Loads the data from the VFS.
-
-
-
Constructor Detail
-
CmsVfsBundleLoaderProperties
public CmsVfsBundleLoaderProperties()
-
-
Method Detail
-
loadData
public java.util.Map<java.util.Locale,java.util.Map<java.lang.String,java.lang.String>> loadData(CmsObject cms, CmsVfsBundleParameters params) throws java.lang.Exception
Description copied from interface:CmsVfsResourceBundle.I_Loader
Loads the data from the VFS.- Specified by:
loadData
in interfaceCmsVfsResourceBundle.I_Loader
- Parameters:
cms
- the CMS context to useparams
- the VFS bundle parameters- Returns:
- the message bundle data
- Throws:
java.lang.Exception
- if something goes wrong- See Also:
CmsVfsResourceBundle.I_Loader.loadData(org.opencms.file.CmsObject, org.opencms.i18n.CmsVfsBundleParameters)
-
-