ch.tatool.app.export
Class CSVTrialDataExport

java.lang.Object
  extended by ch.tatool.app.export.CSVTrialDataExport

public class CSVTrialDataExport
extends Object

Exports module data into a CSV file. This is a helper class used by the various exporters

Author:
Michael Ruflin

Constructor Summary
CSVTrialDataExport(DataService dataService)
           
 
Method Summary
 File exportData(Module module, int fromSessionIndex)
          Exports the module data and stores the results in the provided Writer
 void setCSVParameters(char separator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSVTrialDataExport

public CSVTrialDataExport(DataService dataService)
Method Detail

exportData

public File exportData(Module module,
                       int fromSessionIndex)
Exports the module data and stores the results in the provided Writer

Parameters:
module -
file - the file to write the data to
Returns:
a file containing the module data or null in case an error occured

setCSVParameters

public void setCSVParameters(char separator)


Copyright © 2012. All Rights Reserved.