Package com.github.jknack.handlebars.io
Class ForwardingTemplateSource
java.lang.Object
com.github.jknack.handlebars.io.AbstractTemplateSource
com.github.jknack.handlebars.io.ForwardingTemplateSource
- All Implemented Interfaces:
TemplateSource
- Direct Known Subclasses:
ReloadableTemplateSource
@Deprecated(since="2024-07-10")
public class ForwardingTemplateSource
extends AbstractTemplateSource
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.
A template source which forwards all its method calls to another template source..
- Since:
- 0.11.0
-
Constructor Summary
-
Method Summary
Methods inherited from class com.github.jknack.handlebars.io.AbstractTemplateSource
equals, hashCode, toString
-
Constructor Details
-
ForwardingTemplateSource
Deprecated.Creates a newForwardingTemplateSource
.- Parameters:
source
- The template source to forwards all the method calls.
-
-
Method Details
-
content
Deprecated.Description copied from interface:TemplateSource
The 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:TemplateSource
The file's name.- Returns:
- The file's name.
-
lastModified
public long lastModified()Deprecated.Description copied from interface:TemplateSource
The last modified date.- Returns:
- The last modified date.
-