Package com.github.jknack.handlebars.io
Class URLTemplateSource
java.lang.Object
com.github.jknack.handlebars.io.AbstractTemplateSource
com.github.jknack.handlebars.io.URLTemplateSource
- All Implemented Interfaces:
TemplateSource
Deprecated.
com.github.jknack.handlebars.io package is deprecated and marked for removal in subsequent releases which will involve removal of the handlebars dependency in AEM.
An
URL TemplateSource.- Since:
- 0.11.0
-
Constructor Summary
ConstructorsConstructorDescriptionURLTemplateSource(String filename, URL resource) Deprecated.Creates a newURLTemplateSource. -
Method Summary
Methods inherited from class com.github.jknack.handlebars.io.AbstractTemplateSource
equals, hashCode, toString
-
Constructor Details
-
URLTemplateSource
Deprecated.Creates a newURLTemplateSource.- Parameters:
filename- The file's name.resource- The resource. Required.
-
-
Method Details
-
content
Deprecated.Description copied from interface:TemplateSourceThe template content.- Parameters:
charset- Charset to use.- Returns:
- The template content.
- Throws:
IOException- If the template can't read.
-
filename
Deprecated.Description copied from interface:TemplateSourceThe file's name.- Returns:
- The file's name.
-
lastModified
public long lastModified()Deprecated.Description copied from interface:TemplateSourceThe last modified date.- Returns:
- The last modified date.
-