Package com.github.jknack.handlebars.io
Interface TemplateSource
- All Known Implementing Classes:
AbstractTemplateSource
,ForwardingTemplateSource
,ReloadableTemplateSource
,StringTemplateSource
,URLTemplateSource
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.
The template source. Implementation of
TemplateSource
must implement
equals(Object)
and hashCode()
methods. This two methods are the core
of the cache system.- Since:
- 0.11.0
-
Method Summary
-
Method Details
-
content
Deprecated.The template content.- Parameters:
charset
- Charset to use.- Returns:
- The template content.
- Throws:
IOException
- If the template can't read.
-
filename
String filename()Deprecated.The file's name.- Returns:
- The file's name.
-
lastModified
long lastModified()Deprecated.The last modified date.- Returns:
- The last modified date.
-