Class WebfileTemplateLoader
java.lang.Object
com.github.jknack.handlebars.io.AbstractTemplateLoader
org.onehippo.forge.templating.support.handlebars.servlet.WebfileTemplateLoader
- All Implemented Interfaces:
com.github.jknack.handlebars.io.TemplateLoader
public class WebfileTemplateLoader
extends com.github.jknack.handlebars.io.AbstractTemplateLoader
Hippo CMS' webfile template loader implementation.
-
Field Summary
Fields inherited from interface com.github.jknack.handlebars.io.TemplateLoader
DEFAULT_PREFIX, DEFAULT_SUFFIX
-
Constructor Summary
ConstructorDescriptionWebfileTemplateLoader
(String suffix) Construct WebfileTemplateLoader with the suffix. -
Method Summary
Methods inherited from class com.github.jknack.handlebars.io.AbstractTemplateLoader
getCharset, getPrefix, getSuffix, normalize, resolve, setCharset, setPrefix, setSuffix
-
Constructor Details
-
WebfileTemplateLoader
Construct WebfileTemplateLoader with the suffix.- Parameters:
suffix
- Suffix that should be appended to the given template path when resolving the webfile's JCR path
-
-
Method Details
-
sourceAt
- Throws:
IOException
-