Class LocalizationProcessor

    • Constructor Detail

      • LocalizationProcessor

        public LocalizationProcessor()
    • Method Detail

      • replace

        public String replace​(String prefix,
                              String variable,
                              String defValue,
                              jakarta.servlet.http.HttpServletRequest req)
        Description copied from interface: VariablesProcessor
        Replace method.
        Specified by:
        replace in interface VariablesProcessor
        Parameters:
        prefix - processor prefix
        variable - variable to replace
        defValue - default value
        req - request
        Returns:
        replaced text
      • getLocalizationFromMap

        protected String getLocalizationFromMap​(String key)
      • getLocalizationFromResources

        protected String getLocalizationFromResources​(String key)
        Returns a text resource by its name.
        Parameters:
        key - TODO dummy comment for javadoc.
        Returns:
        TODO dummy comment for javadoc.