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 |
|---|---|
String |
content(Charset charset)
The template content.
|
String |
filename()
The file's name.
|
long |
lastModified()
The last modified date.
|
String content(Charset charset) throws IOException
charset - Charset to use.IOException - If the template can't read.String filename()
long lastModified()
Copyright © 2022. All rights reserved.