public class PdfReport extends Object
Constructor and Description |
---|
PdfReport() |
Modifier and Type | Method and Description |
---|---|
ByteArrayOutputStream |
generatePdfReport(net.sf.jasperreports.engine.JasperPrint jasperPrint)
generate a ByteArrayOutputStream from given JasperPrint object for the PDF report
|
public ByteArrayOutputStream generatePdfReport(net.sf.jasperreports.engine.JasperPrint jasperPrint) throws net.sf.jasperreports.engine.JRException, org.wso2.carbon.reporting.api.ReportingException
jasperPrint
- transform to pdf reportorg.wso2.carbon.reporting.api.ReportingException
- when the JasperPrint nullnet.sf.jasperreports.engine.JRException
IOException
Copyright © 2021 WSO2. All rights reserved.