Class DefaultResolver

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

public class DefaultResolver extends Object implements MustacheResolver
Mustache resolver that provides the default functionality that the default mustache factory relies on by combining the classpath and the filesystem resolver.
  • Field Details

  • Constructor Details

    • DefaultResolver

      public DefaultResolver()
    • DefaultResolver

      public DefaultResolver(String resourceRoot)
      Use the classpath to resolve mustache templates.
      Parameters:
      resourceRoot - where in the classpath to find the templates
    • DefaultResolver

      public DefaultResolver(File fileRoot)
      Use the file system to resolve mustache templates.
      Parameters:
      fileRoot - where in the file system to find the templates
  • Method Details