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

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

public class CSVDataExportTask
extends Object
implements Runnable

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

Author:
Thomas Morgner

Constructor Summary
CSVDataExportTask(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

CSVDataExportTask

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

Parameters:
report - the report that should be exported.
dialog - the progress dialog to inform the user about the report progress.
swingGuiContext - the context connecting the task to the outside UI.
Throws:
ReportProcessingException
Method Detail

run

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

Specified by:
run in interface Runnable