| 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.
Parameters: model - the model object, typically a Map that contains model namesas keys and model objects as values the result as String throws: IOException - if the template wasn't found or couldn't be read throws: freemarker.template.TemplateException - if rendering failed See Also: org.springframework.mail.MailPreparationException |