public interface StatefulTemplateLoader extends TemplateLoader
TemplateLoader
-s that maintain some
sort of internal state (i.e. caches of earlier lookups for performance
optimization purposes etc.) and support resetting of their state.Modifier and Type | Method and Description |
---|---|
void |
resetState()
Invoked by
Configuration.clearTemplateCache() to instruct this
template loader to throw away its current state and start afresh. |
closeTemplateSource, findTemplateSource, getLastModified, getReader
void resetState()
Configuration.clearTemplateCache()
to instruct this
template loader to throw away its current state and start afresh.