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 Started in the Manual.) |
freemarker.template.utility |
Various classes used by core FreeMarker code but might be useful outside of it too.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.HashMap |
Configurable.parseAsImportList(java.lang.String text) |
protected java.util.ArrayList |
Configurable.parseAsList(java.lang.String text) |
protected java.util.ArrayList |
Configurable.parseAsSegmentedList(java.lang.String text) |
Modifier and Type | Class and Description |
---|---|
static class |
Template.WrongEncodingException
Thrown by the
Template constructors that specify a non-null encoding whoch doesn't match the
encoding specified in the #ftl header of the template. |
Modifier and Type | Method and 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.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)
|
Template |
Configuration.getTemplate(java.lang.String name,
java.lang.String encoding)
Shorthand for
getTemplate(name, null, null, encoding, true, false) . |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
StringUtil.FTLStringLiteralDec(java.lang.String s)
FTL string literal decoding.
|