public class FallbackMustacheFactory extends DefaultMustacheFactory
es, mc, mustacheCache, oh, recursionLimit, templateCache| Constructor and Description |
|---|
FallbackMustacheFactory(File fileRoot,
File fallbackRoot)
Simple constructor for a fallback Mustache.java factory.
|
FallbackMustacheFactory(Object... resourceRoots)
Generic constructor for a fallback Mustache.java factory.
|
FallbackMustacheFactory(String resourceRoot,
String fallbackRoot)
Simple constructor for a fallback Mustache.java factory.
|
| Modifier and Type | Method and Description |
|---|---|
Reader |
getReader(String resourceName)
Return a reader for accessing resource files.
|
compile, compile, compile, compilePartial, createLambdaCache, createMustacheCache, createMustacheVisitor, encode, filterText, getExecutorService, getFragment, getFragmentCacheFunction, getMustacheCacheFunction, getObjectHandler, getRecursionLimit, resolvePartialPath, setExecutorService, setObjectHandler, setRecursionLimit, translatepublic FallbackMustacheFactory(String resourceRoot, String fallbackRoot)
resourceRoot - normal resource rootfallbackRoot - fallback alternative rootpublic FallbackMustacheFactory(File fileRoot, File fallbackRoot)
fileRoot - normal resource rootfallbackRoot - fallback alternative rootpublic FallbackMustacheFactory(Object... resourceRoots)
resourceRoots - array of fallback resource roots as String or Filepublic Reader getReader(String resourceName)
getReader in interface MustacheFactorygetReader in class DefaultMustacheFactoryresourceName - resource name relative to one of the fallback resource rootsCopyright © 2018. All rights reserved.