com.generationjava.io
Class CsvWriter

java.lang.Object
  extended bycom.generationjava.io.CsvWriter

public class CsvWriter
extends Object


Constructor Summary
CsvWriter(Writer wtr)
           
 
Method Summary
 void close()
           
 void endBlock()
           
 Writer getWriter()
           
 void setBlockDelimiter(char ch)
           
 void setFieldDelimiter(char ch)
           
 void writeField(Object obj)
           
 void writeField(String field)
           
 void writeLine(Object[] objs)
           
 void writeLine(String[] strs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CsvWriter

public CsvWriter(Writer wtr)
Method Detail

getWriter

public Writer getWriter()

setFieldDelimiter

public void setFieldDelimiter(char ch)

setBlockDelimiter

public void setBlockDelimiter(char ch)

writeField

public void writeField(String field)
                throws IOException
Throws:
IOException

endBlock

public void endBlock()
              throws IOException
Throws:
IOException

writeLine

public void writeLine(String[] strs)
               throws IOException
Throws:
IOException

writeField

public void writeField(Object obj)
                throws IOException
Throws:
IOException

writeLine

public void writeLine(Object[] objs)
               throws IOException
Throws:
IOException

close

public void close()
           throws IOException
Throws:
IOException


Copyright © 2002-2005 OSJava. All Rights Reserved.