com.partnersoft.io.formats.csv
Class CSVFileBuilder

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

public class CSVFileBuilder
extends java.lang.Object

A fast builder for text csv files.

Author:
Paul Reavis Copyright 2001 Partner Software, Inc.

Constructor Summary
CSVFileBuilder(java.io.File destination, java.util.ArrayList fieldNames)
           
CSVFileBuilder(java.io.File destination, java.util.ArrayList fieldNames, boolean append)
           
CSVFileBuilder(java.io.File destination, java.lang.String... fieldNames)
           
 
Method Summary
 void appendRecord(Naming 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.lang.String... 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(Naming fieldValues)
                  throws java.io.IOException
Throws:
java.io.IOException

close

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