public final class CSVDataReportUtil extends Object
Modifier and Type | Method and Description |
---|---|
static void |
createCSV(MasterReport report,
OutputStream outputStream,
String encoding) |
static void |
createCSV(MasterReport report,
String filename)
Saves a report to CSV format.
|
static void |
createCSV(MasterReport report,
String filename,
String encoding)
Saves a report to CSV format.
|
static void |
createCSV(MasterReport report,
Writer writer)
Saves a report to CSV format.
|
public static void createCSV(MasterReport report, Writer writer) throws ReportProcessingException
report
- the report.writer
- the writerReportProcessingException
- if the report processing failed.public static void createCSV(MasterReport report, String filename) throws ReportProcessingException, IOException
report
- the report.filename
- target file name.ReportProcessingException
- if the report processing failed.IOException
- if there was an IOerror while processing the report.public static void createCSV(MasterReport report, String filename, String encoding) throws ReportProcessingException, IOException
report
- the report.filename
- target file name.encoding
- the encoding that should be used.ReportProcessingException
- if the report processing failed.IOException
- if there was an IOerror while processing the report.public static void createCSV(MasterReport report, OutputStream outputStream, String encoding) throws ReportProcessingException, IOException
ReportProcessingException
IOException
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.