Interface JasperReportExportService
-
- All Known Implementing Classes:
DefaultJasperReportExportService
public interface JasperReportExportServiceExports reports- Spring Bean ID:
- jasperReportExportService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]exportToExcel(net.sf.jasperreports.engine.JasperPrint filledReport)Exports report to Exceljava.awt.image.BufferedImageexportToImage(net.sf.jasperreports.engine.JasperPrint filledReport)Exports report to imagebyte[]exportToPdf(net.sf.jasperreports.engine.JasperPrint filledReport)Exports report to PDF
-
-
-
Method Detail
-
exportToExcel
byte[] exportToExcel(net.sf.jasperreports.engine.JasperPrint filledReport) throws JasperReportExportExceptionExports 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 JasperReportExportExceptionExports report to PDF- Parameters:
filledReport- report to export- Returns:
- pdf file as byte array
- Throws:
JasperReportExportException- if any problem occur
-
exportToImage
java.awt.image.BufferedImage exportToImage(net.sf.jasperreports.engine.JasperPrint filledReport) throws JasperReportExportExceptionExports report to image- Parameters:
filledReport- report to export- Returns:
- image
- Throws:
JasperReportExportException- if any problem occur
-
-