Package lumis.portal.localization
Class MainStringLocalizationDaoXml
- java.lang.Object
-
- lumis.portal.localization.MainStringLocalizationDaoXml
-
- All Implemented Interfaces:
IStringLocalizationDao
public class MainStringLocalizationDaoXml extends java.lang.Object implements IStringLocalizationDao
Implementation of String Localization Dao that searches localization XML files for localized strings.- Since:
- 4.0.0
- Version:
- $Revision: 17606 $ $Date: 2015-07-24 10:56:40 -0300 (Fri, 24 Jul 2015) $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
MainStringLocalizationDaoXml.ResourceSAXHandler
-
Constructor Summary
Constructors Constructor Description MainStringLocalizationDaoXml()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>
getStringTable(java.lang.String resourcePath, java.util.Locale locale, java.util.List<ITheme> themes)
Get the string table of the string localization.
-
-
-
Method Detail
-
getStringTable
public java.util.Map<java.lang.String,java.lang.String> getStringTable(java.lang.String resourcePath, java.util.Locale locale, java.util.List<ITheme> themes) throws PortalException
Description copied from interface:IStringLocalizationDao
Get the string table of the string localization.- Specified by:
getStringTable
in interfaceIStringLocalizationDao
- Parameters:
resourcePath
- the path of the resources to search within for the stringslocale
- the locale to use when searching for the stringsthemes
- the themes to search within for strings, they are expected to be in the search order- Returns:
- the string table with all found localized strings
- Throws:
PortalException
-
-