Class FreemarkerReportTemplate
java.lang.Object
net.thucydides.core.reports.templates.FreemarkerReportTemplate
- All Implemented Interfaces:
ReportTemplate
public class FreemarkerReportTemplate extends java.lang.Object implements ReportTemplate
-
Constructor Summary
Constructors Constructor Description FreemarkerReportTemplate(freemarker.template.Configuration configuration, java.lang.String templateFile)
-
Method Summary
Modifier and Type Method Description void
merge(java.util.Map<java.lang.String,java.lang.Object> context, java.io.Writer writer)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
FreemarkerReportTemplate
public FreemarkerReportTemplate(freemarker.template.Configuration configuration, java.lang.String templateFile) throws java.io.IOException, TemplateMergeException- Throws:
java.io.IOException
TemplateMergeException
-
-
Method Details
-
merge
public void merge(java.util.Map<java.lang.String,java.lang.Object> context, java.io.Writer writer) throws TemplateMergeException- Specified by:
merge
in interfaceReportTemplate
- Throws:
TemplateMergeException
-