Class DefaultEmailTemplateTranslationStrategy

    • Constructor Detail

      • DefaultEmailTemplateTranslationStrategy

        public DefaultEmailTemplateTranslationStrategy()
    • Method Detail

      • getPropertiesRootPath

        protected java.util.List<java.lang.String> getPropertiesRootPath​(RendererTemplateModel renderTemplate,
                                                                         java.lang.String languageIso)
      • buildMessageSources

        protected java.util.List<java.lang.String> buildMessageSources​(java.lang.String languageIso,
                                                                       java.io.BufferedReader reader,
                                                                       java.lang.String line)
                                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • loadPropertyfile

        protected java.util.Map loadPropertyfile​(java.lang.String path)
      • getApplicationContext

        protected org.springframework.context.ApplicationContext getApplicationContext()
      • setCommonI18NService

        public void setCommonI18NService​(CommonI18NService commonI18NService)
      • getMediaService

        protected MediaService getMediaService()
      • setMediaService

        public void setMediaService​(MediaService mediaService)
      • getDefaultLanguageIso

        public java.lang.String getDefaultLanguageIso()
        Default language which is used if languageIso parameter is null
        Returns:
        default language
      • setDefaultLanguageIso

        public void setDefaultLanguageIso​(java.lang.String defaultLanguageIso)
        Set default language which is used if languageIso parameter is null
        Parameters:
        defaultLanguageIso -