Package freemarker.cache
Interface StatefulTemplateLoader
- All Superinterfaces:
TemplateLoader
- All Known Implementing Classes:
MultiTemplateLoader
Interface that can be implemented by
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.-
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked byConfiguration.clearTemplateCache()
to instruct this template loader to throw away its current state and start afresh.Methods inherited from interface freemarker.cache.TemplateLoader
closeTemplateSource, findTemplateSource, getLastModified, getReader
-
Method Details
-
resetState
void resetState()Invoked byConfiguration.clearTemplateCache()
to instruct this template loader to throw away its current state and start afresh.
-