Class FreemarkerUtils


  • public class FreemarkerUtils
    extends Object
    Helper with shared routings for bootstraping template engine.
    Author:
    K. Benedyczak
    • Constructor Detail

      • FreemarkerUtils

        public FreemarkerUtils()
    • Method Detail

      • getTemplateLoader

        public static freemarker.cache.TemplateLoader getTemplateLoader​(String webContentsDirectory,
                                                                        String templatesRoot,
                                                                        Class<?> fallbackResourceLoaderClass)
      • validateStringTemplate

        public static boolean validateStringTemplate​(String templateStr)