Package org.mapfish.print.output
Class JasperReportExcelOutputFormat
java.lang.Object
org.mapfish.print.output.AbstractJasperReportOutputFormat
org.mapfish.print.output.JasperReportExcelOutputFormat
- All Implemented Interfaces:
OutputFormat
public final class JasperReportExcelOutputFormat
extends AbstractJasperReportOutputFormat
implements OutputFormat
An PDF output format that uses Jasper reports to generate the result.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.mapfish.print.output.AbstractJasperReportOutputFormat
AbstractJasperReportOutputFormat.Print
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doExport
(OutputStream outputStream, AbstractJasperReportOutputFormat.Print print) Export the report to the output stream.The content type of the output.The file suffix to use when writing to a file.Methods inherited from class org.mapfish.print.output.AbstractJasperReportOutputFormat
getJasperPrint, print
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.mapfish.print.output.OutputFormat
print
-
Constructor Details
-
JasperReportExcelOutputFormat
public JasperReportExcelOutputFormat()
-
-
Method Details
-
getContentType
Description copied from interface:OutputFormat
The content type of the output.- Specified by:
getContentType
in interfaceOutputFormat
-
getFileSuffix
Description copied from interface:OutputFormat
The file suffix to use when writing to a file.- Specified by:
getFileSuffix
in interfaceOutputFormat
-
doExport
protected void doExport(OutputStream outputStream, AbstractJasperReportOutputFormat.Print print) throws net.sf.jasperreports.engine.JRException Description copied from class:AbstractJasperReportOutputFormat
Export the report to the output stream.- Specified by:
doExport
in classAbstractJasperReportOutputFormat
- Parameters:
outputStream
- the output stream to export toprint
- the report- Throws:
net.sf.jasperreports.engine.JRException
-