com.ibm.team.fvt.tests.performance
Class CsvWriter

java.lang.Object
  extended by com.ibm.team.fvt.tests.performance.LogWriter
      extended by com.ibm.team.fvt.tests.performance.CsvWriter
Direct Known Subclasses:
TaskDataWriter

public class CsvWriter
extends LogWriter

Csv Writer class, for writing csv results to disk

The Csv writer class is designed to provide a simple way to write Csv files and provide input methods for common array types.


Constructor Summary
CsvWriter(java.lang.String filePathName, char breakCharacter)
           
 
Method Summary
 void writeNext(java.util.ArrayList<java.lang.String> csvArray)
          Write next string array to file.
 void writeNext(java.lang.String[] csvArray)
          Write next string array to file.
 
Methods inherited from class com.ibm.team.fvt.tests.performance.LogWriter
close, flush, open, writeNext
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CsvWriter

public CsvWriter(java.lang.String filePathName,
                 char breakCharacter)
Method Detail

writeNext

public void writeNext(java.lang.String[] csvArray)
Write next string array to file.

Parameters:
csvArray - The array of string to write on the line

writeNext

public void writeNext(java.util.ArrayList<java.lang.String> csvArray)
Write next string array to file.

Parameters:
csvArray - The array of string to write on the line