com.partnersoft.v3x.io.formats.csv
Class CSVFileBuilder

java.lang.Object
  extended by com.partnersoft.v3x.io.formats.csv.CSVFileBuilder

public class CSVFileBuilder
extends java.lang.Object

A fast builder for text csv files.


Constructor Summary
CSVFileBuilder(java.io.File destination, java.util.ArrayList fieldNames)
           
CSVFileBuilder(java.io.File destination, java.util.ArrayList fieldNames, boolean append)
           
 
Method Summary
 void appendRecord(java.util.ArrayList fieldValues)
           
 void close()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSVFileBuilder

public CSVFileBuilder(java.io.File destination,
                      java.util.ArrayList fieldNames)
               throws java.io.IOException
Throws:
java.io.IOException

CSVFileBuilder

public CSVFileBuilder(java.io.File destination,
                      java.util.ArrayList fieldNames,
                      boolean append)
               throws java.io.IOException
Throws:
java.io.IOException
Method Detail

appendRecord

public void appendRecord(java.util.ArrayList fieldValues)
                  throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException