org.pentaho.reporting.engine.classic.core.modules.gui.csv
Class CSVTableExportTask

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.modules.gui.csv.CSVTableExportTask
All Implemented Interfaces:
Runnable

public class CSVTableExportTask
extends Object
implements Runnable

An export task implementation that writes an report into a CSV file, and uses the table target to create layouted content.

Author:
Thomas Morgner

Constructor Summary
CSVTableExportTask(MasterReport report, ReportProgressDialog dialog, SwingGuiContext swingGuiContext)
          Creates a new CSV export task.
 
Method Summary
 void run()
          Exports the report into a CSV file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSVTableExportTask

public CSVTableExportTask(MasterReport report,
                          ReportProgressDialog dialog,
                          SwingGuiContext swingGuiContext)
                   throws ReportProcessingException
Creates a new CSV export task.

Parameters:
swingGuiContext - the GUI Context
dialog - the progress monitor
report - the report that should be exported.
Throws:
ReportProcessingException - if the report did not define a valid filename.
Method Detail

run

public void run()
Exports the report into a CSV file.

Specified by:
run in interface Runnable