public interface Exporter<I extends ExporterInput,IC extends ReportExportConfiguration,C extends ExporterConfiguration,O extends ExporterOutput>
Export customization is realized by setting an ExporterConfiguration instance on the exporter and/or provide
an instance of the same ExporterConfiguration interface for each item to be exported in batch mode using
ExporterInputItem.getConfiguration().
An important aspect is the output type of each exporter. There are three types of exporters depending on the type of output they produce:
All existing exporters fall into two categories depending on the way the content of the documents they produce could be structured:
| Modifier and Type | Method and Description |
|---|---|
void |
exportReport()
Performs the export.
|
ReportContext |
getReportContext() |
void |
setConfiguration(C configuration) |
void |
setConfiguration(IC configuration) |
void |
setExporterInput(I input)
Provides the input for this exporter.
|
void |
setExporterOutput(O output)
Provides the output for this exporter.
|
void |
setReportContext(ReportContext reportContext) |
void setExporterInput(I input)
void setExporterOutput(O output)
void setConfiguration(IC configuration)
void setConfiguration(C configuration)
void setReportContext(ReportContext reportContext)
ReportContext getReportContext()
void exportReport()
throws JRException
JRExceptionCopyright © 2017. All rights reserved.