| 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 |
UnknownDateTypeFormattingUnsupportedException
Thrown when a
TemplateDateModel can't be formatted because its type is TemplateDateModel.UNKNOWN. |
class |
UnknownDateTypeParsingUnsupportedException
Thrown when a string can't be parsed to
TemplateDateModel, because the provided target type is
TemplateDateModel.UNKNOWN. |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Number |
TemplateFormatUtil.getNonNullNumber(TemplateNumberModel numberModel)
Utility method to extract the
Number from an TemplateNumberModel, and throws
TemplateModelException with a standard error message if that's null. |