| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: the result as Stringthe model object, typically a Map that contains model names
as keys and model objects as values model)Process the specified FreeMarker template with the given model and write the result to the given Writer. |
| FreeMarkerTemplateUtils | back to summary |
|---|---|
| public FreeMarkerTemplateUtils() | |
| processTemplateIntoString | back to summary |
|---|---|
| public static String processTemplateIntoString(freemarker. Process the specified FreeMarker template with the given model and write the result to the given Writer. When using this method to prepare a text for a mail to be sent with Spring's mail support, consider wrapping IO/TemplateException in MailPreparationException.
| |