| Package | Description |
|---|---|
| freemarker.core |
The seldom used or advanced parts of the fundamental FreeMarker API, compared to
freemarker.template. |
| Modifier and Type | Class and Description |
|---|---|
class |
AliasTemplateDateFormatFactory
Creates an alias to another format, so that the format can be referred to with a simple name in the template, rather
than as a concrete pattern or other kind of format string.
|
| Modifier and Type | Method and Description |
|---|---|
TemplateDateFormatFactory |
Configurable.getCustomDateFormat(java.lang.String name)
Gets the custom name format registered for the name.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,? extends TemplateDateFormatFactory> |
Configurable.getCustomDateFormats()
Getter pair of
Configurable.setCustomDateFormats(Map); do not modify the returned Map! To be consistent with
other setting getters, if this setting was set directly on this Configurable object, this simply returns
that value, otherwise it returns the value from the parent Configurable. |
java.util.Map<java.lang.String,? extends TemplateDateFormatFactory> |
Configurable.getCustomDateFormatsWithoutFallback()
Like
Configurable.getCustomDateFormats(), but doesn't fall back to the parent Configurable, nor does it
provide a non-null default when called as the method of a Configuration. |
| Modifier and Type | Method and Description |
|---|---|
void |
Configurable.setCustomDateFormats(java.util.Map<java.lang.String,? extends TemplateDateFormatFactory> customDateFormats)
Associates names with formatter factories, which then can be referred by the
date_format, time_format, and datetime_format settings with values starting with @name. |