public class ForwardingTemplateSource extends AbstractTemplateSource
| Constructor and Description |
|---|
ForwardingTemplateSource(TemplateSource source)
Creates a new
ForwardingTemplateSource. |
| Modifier and Type | Method and Description |
|---|---|
String |
content(Charset charset)
The template content.
|
String |
filename()
The file's name.
|
long |
lastModified()
The last modified date.
|
equals, hashCode, toStringpublic ForwardingTemplateSource(TemplateSource source)
ForwardingTemplateSource.source - The template source to forwards all the method calls.public String content(Charset charset) throws IOException
TemplateSourcecharset - Charset to use.IOException - If the template can't read.public String filename()
TemplateSourcepublic long lastModified()
TemplateSourceCopyright © 2022. All rights reserved.