org.apache.solr.internal.csv.writer
Class CSVWriter
java.lang.Object
org.apache.solr.internal.csv.writer.CSVWriter
public class CSVWriter
- extends Object
CSVWriter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CSVWriter
public CSVWriter()
CSVWriter
public CSVWriter(CSVConfig config)
writeRecord
public void writeRecord(Map map)
writeValue
protected String writeValue(CSVField field,
String value)
throws Exception
- Throws:
Exception
getConfig
public CSVConfig getConfig()
- Returns:
- the CVSConfig or null if not present
setConfig
public void setConfig(CSVConfig config)
- Set the CSVConfig
- Parameters:
config
- the CVSConfig
setWriter
public void setWriter(Writer writer)
- Set the writer to write the CSV file to.
- Parameters:
writer
- the writer.
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.