Interface JasperReportExportService
- All Known Implementing Classes:
DefaultJasperReportExportService
public interface JasperReportExportService
Exports reports
- Spring Bean ID:
- jasperReportExportService
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]exportToExcel(net.sf.jasperreports.engine.JasperPrint filledReport) Exports report to ExcelexportToImage(net.sf.jasperreports.engine.JasperPrint filledReport) Exports report to imagebyte[]exportToPdf(net.sf.jasperreports.engine.JasperPrint filledReport) Exports report to PDF
-
Method Details
-
exportToExcel
byte[] exportToExcel(net.sf.jasperreports.engine.JasperPrint filledReport) throws JasperReportExportException Exports report to Excel- Parameters:
filledReport- report to export- Returns:
- excel file as byte array
- Throws:
JasperReportExportException- if any problem occur
-
exportToPdf
byte[] exportToPdf(net.sf.jasperreports.engine.JasperPrint filledReport) throws JasperReportExportException Exports report to PDF- Parameters:
filledReport- report to export- Returns:
- pdf file as byte array
- Throws:
JasperReportExportException- if any problem occur
-
exportToImage
BufferedImage exportToImage(net.sf.jasperreports.engine.JasperPrint filledReport) throws JasperReportExportException Exports report to image- Parameters:
filledReport- report to export- Returns:
- image
- Throws:
JasperReportExportException- if any problem occur
-