public abstract class AbstractFreemarkerReportOutput extends AbstractReportOutput
| Constructor and Description |
|---|
AbstractFreemarkerReportOutput(Writer writer,
boolean closeWriterWhenDone,
OutputFormat outFormat) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
marks the report as CLOSED.
|
abstract String |
getTemplatesClasspath() |
<T> void |
output(String templateName,
T model) |
getFormat, getStatus, open, outputpublic AbstractFreemarkerReportOutput(Writer writer, boolean closeWriterWhenDone, OutputFormat outFormat)
writer - the writer to which the output will be sentcloseWriterWhenDone - if true the writer will be closed when the output is done
otherwise the user of this class is responsible of closing itoutFormat - the output format parameterspublic <T> void output(String templateName, T model)
public void close()
AbstractReportOutputclose in interface ReportOutputclose in class AbstractReportOutputpublic abstract String getTemplatesClasspath()
Copyright © 2006–2015. All rights reserved.