public class CSVWriter extends Object
Constructor and Description |
---|
CSVWriter() |
CSVWriter(CSVConfig config) |
Modifier and Type | Method and Description |
---|---|
CSVConfig |
getConfig() |
void |
setConfig(CSVConfig config)
Set the CSVConfig
|
void |
setWriter(Writer writer)
Set the writer to write the CSV file to.
|
void |
writeRecord(Map map) |
protected String |
writeValue(CSVField field,
String value) |
public CSVWriter()
public CSVWriter(CSVConfig config)
public void writeRecord(Map map)
protected String writeValue(CSVField field, String value) throws Exception
Exception
public CSVConfig getConfig()
public void setConfig(CSVConfig config)
config
- the CVSConfigpublic void setWriter(Writer writer)
writer
- the writer.Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.