Package nl.b3p.commons.csv
Class CsvOutputStream
- java.lang.Object
-
- nl.b3p.commons.csv.CsvOutputStream
-
public class CsvOutputStream extends Object
Schrijft CSV bestanden volgens RFC4180 (http://www.rfc-editor.org/rfc/rfc4180.txt).
-
-
Constructor Summary
Constructors Constructor Description CsvOutputStream(OutputStreamWriter output)CsvOutputStream(OutputStreamWriter output, char separator, boolean quoteAlways)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()static voidmain(String[] args)voidwriteRecord(String[] values)
-
-
-
Constructor Detail
-
CsvOutputStream
public CsvOutputStream(OutputStreamWriter output)
-
CsvOutputStream
public CsvOutputStream(OutputStreamWriter output, char separator, boolean quoteAlways)
-
-
Method Detail
-
flush
public void flush() throws IOException- Throws:
IOException
-
close
public void close() throws IOException- Throws:
IOException
-
writeRecord
public void writeRecord(String[] values) throws IOException
- Throws:
IOException
-
main
public static void main(String[] args) throws IOException
- Throws:
IOException
-
-