Package | Description |
---|---|
freemarker.core |
The seldom used or advanced parts of the fundamental FreeMarker API, compared to
freemarker.template . |
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 | Method | Description |
---|---|---|
java.lang.String |
Environment.toFullTemplateName(java.lang.String baseName,
java.lang.String targetName) |
Resolves a reference to a template (like the one used in
#include or #import ), assuming a base
name. |
Modifier and Type | Method | Description |
---|---|---|
Template |
Configuration.getTemplate(java.lang.String name) |
Retrieves the template with the given name from the template cache, loading it into the cache first if it's
missing/staled.
|
Template |
Configuration.getTemplate(java.lang.String name,
java.lang.String encoding) |
Shorthand for
getTemplate(name, null, null, encoding, true, false) . |
Template |
Configuration.getTemplate(java.lang.String name,
java.util.Locale locale) |
Shorthand for
getTemplate(name, locale, null, null, true, false) . |
Template |
Configuration.getTemplate(java.lang.String name,
java.util.Locale locale,
java.lang.Object customLookupCondition,
java.lang.String encoding,
boolean parseAsFTL,
boolean ignoreMissing) |
Retrieves the template with the given name (and according the specified further parameters) from the template
cache, loading it into the cache first if it's missing/staled.
|
Template |
Configuration.getTemplate(java.lang.String name,
java.util.Locale locale,
java.lang.String encoding) |
Shorthand for
getTemplate(name, locale, null, encoding, true, false) . |
Template |
Configuration.getTemplate(java.lang.String name,
java.util.Locale locale,
java.lang.String encoding,
boolean parseAsFTL) |
Shorthand for
getTemplate(name, locale, null, encoding, parseAsFTL, false) . |
Template |
Configuration.getTemplate(java.lang.String name,
java.util.Locale locale,
java.lang.String encoding,
boolean parseAsFTL,
boolean ignoreMissing) |