@Component(role=Templates.class) public class Templates extends Object
| Constructor and Description |
|---|
Templates() |
public freemarker.template.Template get(String template) throws IOException
IOExceptionpublic void process(String template, Object dataModel, Writer out) throws IOException, freemarker.template.TemplateException
IOExceptionfreemarker.template.TemplateExceptionpublic String process(String template, Object dataModel) throws IOException, freemarker.template.TemplateException
IOExceptionfreemarker.template.TemplateExceptionCopyright © 2017 Commsen International. All rights reserved.