Class HandlebarsCompiler

    • Constructor Detail

      • HandlebarsCompiler

        public HandlebarsCompiler​(com.github.jknack.handlebars.Handlebars handlebars,
                                  MustacheTemplateLoader templateLoader)
        Build new mustache compiler using Handlebars API. This compiler need a Handlebars to produce compiled template and a MustacheTemplateLoader to load partials defined in templates.
        Parameters:
        handlebars - Handlebars Compiler (must not be null).
        templateLoader - Template Loader (must not be null).