Uses of Package
freemarker.cache
-
Packages that use freemarker.cache Package Description freemarker.cache Template loading and caching.freemarker.ext.servlet Servlet for legacy "Model 2" frameworks that allows using FreeMarker templates instead of JSP as the MVC View (see in the Manual).freemarker.template The fundamental, most commonly used API-s of FreeMarker; start withConfiguration
(see also the Getting Started in the Manual.) -
Classes in freemarker.cache used by freemarker.cache Class Description CacheStorage Cache storage abstracts away the storage aspects of a cache - associating an object with a key, retrieval and removal via the key.CacheStorageWithGetSize A cache storage that has agetSize()
method for returning the current number of cache entries.ConcurrentCacheStorage An optional interface for cache storage that knows whether it can be concurrently accessible without synchronization.FileExtensionMatcher Matches the file extension; unlike other matchers, by default case insensitive.FileNameGlobMatcher As opposed toPathGlobMatcher
, it only compares the "file name" part (the part after the last/
) of the source name with the given glob.FirstMatchTemplateConfigurationFactory Returns the first non-null
result of the child factories, ignoring all further child factories.NullCacheStorage A cache storage that doesn't store anything.PathGlobMatcher Matches the whole template source name (also known as template source path) with the given glob.StatefulTemplateLoader Interface that can be implemented byTemplateLoader
-s that maintain some sort of internal state (i.e.TemplateCache.MaybeMissingTemplate Used for the return value ofTemplateCache.getTemplate(String, Locale, Object, String, boolean)
.TemplateConfigurationFactory Creates (or returns)TemplateConfiguration
-s for template sources.TemplateConfigurationFactoryException Non-I/O exception thrown byTemplateConfigurationFactory
-s.TemplateLoader FreeMarker loads template "files" through objects that implement this interface, thus the templates need not be real files, and can come from any kind of data source (like classpath, servlet context, database, etc).TemplateLookupContext Used as the parameter ofTemplateLookupStrategy.lookup(TemplateLookupContext)
.TemplateLookupResult The return value ofTemplateLookupStrategy.lookup(TemplateLookupContext)
and similar lookup methods.TemplateLookupStrategy Finds theTemplateLoader
-level (storage-level) template source for the template name with which the template was requested (as inConfiguration.getTemplate(String)
).TemplateNameFormat Symbolizes a template name format, which defines the basic syntax of names through algorithms such as normalization.TemplateSourceMatcher URLTemplateLoader This is an abstract template loader that can load templates whose location can be described by an URL. -
Classes in freemarker.cache used by freemarker.ext.servlet Class Description TemplateLoader FreeMarker loads template "files" through objects that implement this interface, thus the templates need not be real files, and can come from any kind of data source (like classpath, servlet context, database, etc). -
Classes in freemarker.cache used by freemarker.template Class Description CacheStorage Cache storage abstracts away the storage aspects of a cache - associating an object with a key, retrieval and removal via the key.TemplateConfigurationFactory Creates (or returns)TemplateConfiguration
-s for template sources.TemplateLoader FreeMarker loads template "files" through objects that implement this interface, thus the templates need not be real files, and can come from any kind of data source (like classpath, servlet context, database, etc).TemplateLookupStrategy Finds theTemplateLoader
-level (storage-level) template source for the template name with which the template was requested (as inConfiguration.getTemplate(String)
).TemplateNameFormat Symbolizes a template name format, which defines the basic syntax of names through algorithms such as normalization.