public interface TemplateSource
TemplateSource
must implement
equals(Object)
and hashCode()
methods. This two methods are the core
of the cache system.Modifier and Type | Method and Description |
---|---|
java.lang.String |
content(java.nio.charset.Charset charset)
The template content.
|
java.lang.String |
filename()
The file's name.
|
long |
lastModified()
The last modified date.
|
java.lang.String content(java.nio.charset.Charset charset) throws java.io.IOException
charset
- Charset to use.java.io.IOException
- If the template can't read.java.lang.String filename()
long lastModified()
Copyright © 2010 - 2023 Adobe. All Rights Reserved