Package com.github.mustachejava.resolver
Class FileSystemResolver
java.lang.Object
com.github.mustachejava.resolver.FileSystemResolver
- All Implemented Interfaces:
MustacheResolver
MustacheResolver implementation that resolves
mustache files from the filesystem.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFileSystemResolver(File fileRoot) Use the file system to resolve mustache templates. -
Method Summary
-
Field Details
-
fileRoot
-
-
Constructor Details
-
FileSystemResolver
public FileSystemResolver() -
FileSystemResolver
Use the file system to resolve mustache templates.- Parameters:
fileRoot- where in the file system to find the templates
-
-
Method Details
-
getReader
- Specified by:
getReaderin interfaceMustacheResolver
-