Package org.opencms.i18n
Class CmsVfsBundleLoaderProperties
java.lang.Object
org.opencms.i18n.CmsVfsBundleLoaderProperties
- All Implemented Interfaces:
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
-
Method Summary
-
Constructor Details
-
CmsVfsBundleLoaderProperties
public CmsVfsBundleLoaderProperties()
-
-
Method Details
-
loadData
public Map<Locale,Map<String, loadDataString>> (CmsObject cms, CmsVfsBundleParameters params) throws 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:
Exception
- if something goes wrong- See Also:
-