Class ClasspathResolver

java.lang.Object
com.github.mustachejava.resolver.ClasspathResolver
All Implemented Interfaces:
MustacheResolver

public class ClasspathResolver extends Object implements MustacheResolver
MustacheResolver implementation that resolves mustache files from the classpath.
  • Field Details

    • resourceRoot

      private final String resourceRoot
  • Constructor Details

    • ClasspathResolver

      public ClasspathResolver()
    • ClasspathResolver

      public ClasspathResolver(String resourceRoot)
      Use the classpath to resolve mustache templates.
      Parameters:
      resourceRoot - where to find the templates
  • Method Details