|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.csv.writer.CSVWriter
public class CSVWriter
CSVWriter
Field Summary | |
---|---|
private CSVConfig |
config
The CSV config |
private java.io.Writer |
writer
The writer |
Constructor Summary | |
---|---|
CSVWriter()
|
|
CSVWriter(CSVConfig config)
|
Method Summary | |
---|---|
CSVConfig |
getConfig()
|
void |
setConfig(CSVConfig config)
Set the CSVConfig |
void |
setWriter(java.io.Writer writer)
Set the writer to write the CSV file to. |
void |
writeRecord(java.util.Map map)
|
protected java.lang.String |
writeValue(CSVField field,
java.lang.String value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private CSVConfig config
private java.io.Writer writer
Constructor Detail |
---|
public CSVWriter()
public CSVWriter(CSVConfig config)
Method Detail |
---|
public void writeRecord(java.util.Map map)
protected java.lang.String writeValue(CSVField field, java.lang.String value) throws java.lang.Exception
java.lang.Exception
public CSVConfig getConfig()
public void setConfig(CSVConfig config)
config
- the CVSConfigpublic void setWriter(java.io.Writer writer)
writer
- the writer.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |