public class FreemarkerRenderer extends Object
| Constructor and Description |
|---|
FreemarkerRenderer() |
| Modifier and Type | Method and Description |
|---|---|
static void |
init() |
static String |
processTpl(freemarker.template.Template template,
Object model)
process template to string
|
static String |
processTplContent(String templateContent,
Object model)
convert string content into Freemarker template and render it
|
public static void init()
public static String processTplContent(String templateContent, Object model)
templateContent - model - public static String processTpl(freemarker.template.Template template, Object model) throws IOException, freemarker.template.TemplateException
template - model - IOExceptionfreemarker.template.TemplateExceptionCopyright © 2020. All rights reserved.