public class FreemarkerFactory extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
FreemarkerFactory.IFreemarkerListener |
| Constructor and Description |
|---|
FreemarkerFactory(File aTemplatesDir) |
| Modifier and Type | Method and Description |
|---|---|
void |
process(FreemarkerContext aContext,
Writer aOut) |
void |
process(String aPath,
javax.servlet.http.HttpServletResponse aResponse,
FreemarkerFactory.IFreemarkerListener aListener) |
FreemarkerTemplate |
template(String aPath) |
public FreemarkerFactory(File aTemplatesDir)
public void process(FreemarkerContext aContext, Writer aOut) throws IOException, freemarker.template.TemplateException
IOExceptionfreemarker.template.TemplateExceptionpublic void process(String aPath, javax.servlet.http.HttpServletResponse aResponse, FreemarkerFactory.IFreemarkerListener aListener)
public FreemarkerTemplate template(String aPath)
Copyright © 2021. All rights reserved.