Package freemarker.cache

Contains classes and interfaces that deal with template loading and caching.

See:
          Description

Interface Summary
CacheStorage Cache storage abstracts away the storage aspects of a cache - associating an object with a key, retrieval and removal via the key.
TemplateLoader A template loader is an object that can find the source stream for a template, can retrieve its time of last modification as well as the stream itself.
 

Class Summary
ClassTemplateLoader A TemplateLoader that uses streams reachable through Class.getResourceAsStream(String) as its source of templates.
FileTemplateLoader A TemplateLoader that uses files in a specified directory as the source of templates.
MruCacheStorage A cache storage that implements a two-level Most Recently Used cache.
MultiTemplateLoader A TemplateLoader that uses a set of other loaders to load the templates.
SoftCacheStorage Deprecated. use MruCacheStorage instead.
StrongCacheStorage Deprecated. use MruCacheStorage instead.
TemplateCache A class that performs caching and on-demand loading of the templates.
URLTemplateLoader This is an abstract template loader that can load templates whose location can be described by an URL.
WebappTemplateLoader A TemplateLoader that uses streams reachable through ServletContext.getResource(String) as its source of templates.
 

Package freemarker.cache Description

Contains classes and interfaces that deal with template loading and caching. Beside the actual template cache, it contains loaders that can load template files from the file system, from the classpath, or from a web application context. If you have specific needs, you can plug custom template loaders into the system by implementing the template loader interface.