public class TemplateLoader extends Object
Modifier and Type | Field and Description |
---|---|
protected freemarker.template.Configuration |
configuration |
protected String |
templateLocation |
Constructor and Description |
---|
TemplateLoader(String templateLocation) |
Modifier and Type | Method and Description |
---|---|
freemarker.template.Configuration |
getConfiguration() |
freemarker.template.Template |
getTemplate(String template) |
String |
getTemplateLocation() |
void |
setConfiguration(freemarker.template.Configuration configuration) |
protected String templateLocation
protected freemarker.template.Configuration configuration
public TemplateLoader(String templateLocation)
public freemarker.template.Template getTemplate(String template) throws IOException
IOException
public String getTemplateLocation()
public freemarker.template.Configuration getConfiguration()
public void setConfiguration(freemarker.template.Configuration configuration)
Copyright © 2019. All rights reserved.