Package com.flowable.indexing.template
Class TemplateLoader
java.lang.Object
com.flowable.indexing.template.TemplateLoader
public class TemplateLoader
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected freemarker.template.Configuration
configuration
protected java.lang.String
templateLocation
-
Constructor Summary
Constructors Constructor Description TemplateLoader(java.lang.String templateLocation)
-
Method Summary
Modifier and Type Method Description freemarker.template.Configuration
getConfiguration()
freemarker.template.Template
getTemplate(java.lang.String template)
java.lang.String
getTemplateLocation()
void
setConfiguration(freemarker.template.Configuration configuration)
-
Field Details
-
templateLocation
protected java.lang.String templateLocation -
configuration
protected freemarker.template.Configuration configuration
-
-
Constructor Details
-
TemplateLoader
public TemplateLoader(java.lang.String templateLocation)
-
-
Method Details
-
getTemplate
public freemarker.template.Template getTemplate(java.lang.String template) throws java.io.IOException- Throws:
java.io.IOException
-
getTemplateLocation
public java.lang.String getTemplateLocation() -
getConfiguration
public freemarker.template.Configuration getConfiguration() -
setConfiguration
public void setConfiguration(freemarker.template.Configuration configuration)
-