public class DefaultResolver extends Object implements MustacheResolver
| Constructor and Description |
|---|
DefaultResolver() |
DefaultResolver(File fileRoot)
Use the file system to resolve mustache templates.
|
DefaultResolver(String resourceRoot)
Use the classpath to resolve mustache templates.
|
public DefaultResolver()
public DefaultResolver(String resourceRoot)
resourceRoot - where in the classpath to find the templatespublic DefaultResolver(File fileRoot)
fileRoot - where in the file system to find the templatespublic Reader getReader(String resourceName)
getReader in interface MustacheResolverCopyright © 2018. All rights reserved.