public class TemplateService extends Object
| Constructor and Description |
|---|
TemplateService() |
| Modifier and Type | Method and Description |
|---|---|
static TemplateService |
instance()
Returns the unique instance
|
String |
process(String strTemplateValue,
Locale locale,
Map<String,Object> model)
Process a template
|
public static TemplateService instance()
public String process(String strTemplateValue, Locale locale, Map<String,Object> model) throws freemarker.template.TemplateException, IOException
strTemplateValue - The template contentlocale - The localemodel - The modelfreemarker.template.TemplateException - If an error occursIOException - If an error occursCopyright © 2017 City of Paris. All rights reserved.