public interface TemplateService
| Modifier and Type | Method and Description |
|---|---|
String |
getProcessedTemplate(String templateName,
Locale locale,
Map<String,Object> properties)
Merges the given template name with the properties.
|
String getProcessedTemplate(String templateName, Locale locale, Map<String,Object> properties) throws IOException, freemarker.template.TemplateException
templateName - the template name, such as 'invitation_plain.ftl'.locale - the locale for the template, such as Locale.USproperties - the properties to merge the template withIOExceptionfreemarker.template.TemplateExceptionCopyright © 2014–2017 Red Hat, Inc.. All rights reserved.