public class ForwardingTemplateSource extends AbstractTemplateSource
Constructor and Description |
---|
ForwardingTemplateSource(TemplateSource source)
Creates a new
ForwardingTemplateSource . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
content()
The template content.
|
java.lang.String |
filename()
The file's name.
|
long |
lastModified()
The last modified date.
|
equals, hashCode, toString
public ForwardingTemplateSource(TemplateSource source)
ForwardingTemplateSource
.source
- The template source to forwards all the method calls.public java.lang.String content() throws java.io.IOException
TemplateSource
java.io.IOException
- If the template can't read.public java.lang.String filename()
TemplateSource
public long lastModified()
TemplateSource
Copyright © 2010 - 2020 Adobe. All Rights Reserved