Interface MustacheCompilerProvider


  • public interface MustacheCompilerProvider
    Provider a mustache compiler, need to be registered using the Service Provider Interface available since java 6 (see: https://docs.oracle.com/javase/7/docs/api/java/util/ServiceLoader.html).
    • Method Detail

      • mustacheCompiler

        MustacheCompiler mustacheCompiler​(MustacheTemplateLoader templateLoader)
        Create mustache compiler, returned value will be added to the application context.
        Parameters:
        templateLoader - Template loader to use.
        Returns:
        The mustache compiler.