public final class PdfReportUtil extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
createPDF(MasterReport report,
File fileName)
Saves a report to PDF format.
|
static boolean |
createPDF(MasterReport report,
OutputStream out)
Saves a report to PDF format.
|
static boolean |
createPDF(MasterReport report,
String fileName)
Concates and saves a list of reports to PDF format.
|
public static boolean createPDF(MasterReport report, File fileName) throws ReportProcessingException, IOException
report
- the report.fileName
- target file.ReportProcessingException
IOException
public static boolean createPDF(MasterReport report, OutputStream out) throws ReportProcessingException
report
- the report.out
- target output stream.ReportProcessingException
public static boolean createPDF(MasterReport report, String fileName) throws ReportProcessingException, IOException
report
- the report.fileName
- target file name.ReportProcessingException
IOException
Copyright © 2017 Hitachi Vantara. All rights reserved.