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 Stared in the Manual.) |
Modifier and Type | Field | Description |
---|---|---|
static TemplateLookupStrategy |
TemplateLookupStrategy.DEFAULT_2_3_0 |
The default lookup strategy of FreeMarker.
|
Modifier and Type | Method | Description |
---|---|---|
TemplateLookupStrategy |
TemplateCache.getTemplateLookupStrategy() |
Constructor | Description |
---|---|
TemplateCache(TemplateLoader templateLoader,
CacheStorage cacheStorage,
TemplateLookupStrategy templateLookupStrategy,
TemplateNameFormat templateNameFormat,
Configuration config) |
Modifier and Type | Method | Description |
---|---|---|
TemplateLookupStrategy |
Configuration.getTemplateLookupStrategy() |
The getter pair of
Configuration.setTemplateLookupStrategy(TemplateLookupStrategy) . |
Modifier and Type | Method | Description |
---|---|---|
void |
Configuration.setTemplateLookupStrategy(TemplateLookupStrategy templateLookupStrategy) |
Sets a
TemplateLookupStrategy that is used to look up templates based on the requested name; as a side
effect the template cache will be emptied. |