org.apache.commons.csv.writer
Class CSVWriter
java.lang.Object
org.apache.commons.csv.writer.CSVWriter
public class CSVWriter
extends java.lang.Object
CSVWriter
config
private CSVConfig config
The CSV config *
writer
private Writer writer
The writer *
CSVWriter
public CSVWriter()
getConfig
public CSVConfig getConfig()
- the CVSConfig or null if not present
setConfig
public void setConfig(CSVConfig config)
Set the CSVConfig
setWriter
public void setWriter(Writer writer)
Set the writer to write the CSV file to.
writeRecord
public void writeRecord(Map map)
writeValue
protected String writeValue(CSVField field,
String value)
throws Exception