public class DefaultJasperReportExportService extends Object implements JasperReportExportService
JasperReportExportService| Constructor and Description |
|---|
DefaultJasperReportExportService() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
exportToExcel(JasperPrint filledReport)
Exports report to Excel
|
BufferedImage |
exportToImage(JasperPrint filledReport)
Exports report to image
|
byte[] |
exportToPdf(JasperPrint filledReport)
Exports report to PDF
|
void |
setExporterFactory(ExporterFactory exporterFactory) |
public byte[] exportToExcel(JasperPrint filledReport)
throws JasperReportExportException
JasperReportExportServiceexportToExcel in interface JasperReportExportServicefilledReport - report to exportJasperReportExportException - if any problem occurpublic BufferedImage exportToImage(JasperPrint filledReport) throws JasperReportExportException
JasperReportExportServiceexportToImage in interface JasperReportExportServicefilledReport - report to exportJasperReportExportException - if any problem occurpublic byte[] exportToPdf(JasperPrint filledReport)
throws JasperReportExportException
JasperReportExportServiceexportToPdf in interface JasperReportExportServicefilledReport - report to exportJasperReportExportException - if any problem occurpublic void setExporterFactory(ExporterFactory exporterFactory)
exporterFactory - the exporterFactory to setCopyright © 2017 SAP SE. All Rights Reserved.