net.sourceforge.addam.impexp.csv
Class CSVPrinter

java.lang.Object
  extended by net.sourceforge.addam.impexp.csv.CSVPrinter

public class CSVPrinter
extends Object

Writes CSV files according to the rules outlined on Creativyst

Since:
Jul 30, 2004
Author:
TIM3

Field Summary
private  boolean alwaysQuote
           
private  Writer out
           
 
Constructor Summary
CSVPrinter(Writer out)
           
CSVPrinter(Writer out, boolean alwaysQuote)
           
 
Method Summary
 void writeRecord(String[] strings)
          writes each element in the strings array to a line in the CSV file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

private final Writer out

alwaysQuote

private final boolean alwaysQuote
Constructor Detail

CSVPrinter

public CSVPrinter(Writer out)

CSVPrinter

public CSVPrinter(Writer out,
                  boolean alwaysQuote)
Method Detail

writeRecord

public void writeRecord(String[] strings)
                 throws IOException
writes each element in the strings array to a line in the CSV file

Parameters:
strings -
Throws:
IOException


Copyright © 2005-2006 ADDAM Project Team. All Rights Reserved.