Class MainStringLocalizationDaoXml

  • All Implemented Interfaces:
    IStringLocalizationDao

    public class MainStringLocalizationDaoXml
    extends 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) $
    • Constructor Detail

      • MainStringLocalizationDaoXml

        public MainStringLocalizationDaoXml()
    • Method Detail

      • getStringTable

        public Map<String,​String> getStringTable​(String resourcePath,
                                                       Locale locale,
                                                       List<ITheme> themes)
                                                throws PortalException
        Description copied from interface: IStringLocalizationDao
        Get the string table of the string localization.
        Specified by:
        getStringTable in interface IStringLocalizationDao
        Parameters:
        resourcePath - the path of the resources to search within for the strings
        locale - the locale to use when searching for the strings
        themes - 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