Package | Description |
---|---|
freemarker.cache |
Template loading and caching.
|
freemarker.template |
The fundamental, most commonly used API-s of FreeMarker;
start with
Configuration (see also the
Getting Started in the Manual.) |
Modifier and Type | Field and Description |
---|---|
static TemplateLookupStrategy |
TemplateLookupStrategy.DEFAULT_2_3_0
The default lookup strategy of FreeMarker.
|
Modifier and Type | Method and Description |
---|---|
TemplateLookupStrategy |
TemplateCache.getTemplateLookupStrategy() |
Constructor and Description |
---|
TemplateCache(TemplateLoader templateLoader,
CacheStorage cacheStorage,
TemplateLookupStrategy templateLookupStrategy,
TemplateNameFormat templateNameFormat,
Configuration config)
Same as
TemplateCache.TemplateCache(TemplateLoader, CacheStorage, TemplateLookupStrategy, TemplateNameFormat,
TemplateConfigurationFactory, Configuration) with null for templateConfigurations -s. |
TemplateCache(TemplateLoader templateLoader,
CacheStorage cacheStorage,
TemplateLookupStrategy templateLookupStrategy,
TemplateNameFormat templateNameFormat,
TemplateConfigurationFactory templateConfigurations,
Configuration config) |
Modifier and Type | Method and Description |
---|---|
TemplateLookupStrategy |
Configuration.getTemplateLookupStrategy()
The getter pair of
Configuration.setTemplateLookupStrategy(TemplateLookupStrategy) . |
Modifier and Type | Method and Description |
---|---|
void |
Configuration.setTemplateLookupStrategy(TemplateLookupStrategy templateLookupStrategy)
Sets the
TemplateLookupStrategy that is used to look up templates based on the requested name; as a side
effect the template cache will be emptied. |