|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.engine.classic.core.modules.output.table.csv.CSVReportUtil
public final class CSVReportUtil
Utility class to provide an easy to use default implementation of CSV table exports.
Method Summary | |
---|---|
static void |
createCSV(MasterReport report,
OutputStream outputStream,
String encoding)
Saves a report to CSV format. |
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void createCSV(MasterReport report, OutputStream outputStream, String encoding) throws ReportProcessingException, IOException
report
- the report.outputStream
- the output stream.encoding
- the encoding for the output stream (can be null).
ReportProcessingException
- if the report processing failed.
IOException
- if an IO related error occured.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 optional encoding that should be used.
ReportProcessingException
- if the report processing failed.
IOException
- if there was an IOerror while processing the report.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |