|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jmatchparser.util.csv.AbstractCSVWriter
net.sf.jmatchparser.util.csv.CSVReaderBuilder
public class CSVReaderBuilder
An AbstractCSVWriter
where you can write records into and then call
the toReader()
method to build an AbstractCSVReader
that can
read exactly these records.
Constructor Summary | |
---|---|
CSVReaderBuilder()
|
Method Summary | |
---|---|
void |
close()
Close this CSV writer. |
void |
flush()
Flush this CSV writer. |
void |
reset()
Reset this builder. |
AbstractCSVReader |
toReader()
Create a CSV reader from the records written to this builder and reset it. |
void |
write(String... record)
Write a record (line) into this CSV file. |
Methods inherited from class net.sf.jmatchparser.util.csv.AbstractCSVWriter |
---|
write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CSVReaderBuilder()
Method Detail |
---|
public void write(String... record) throws IOException
AbstractCSVWriter
write
in class AbstractCSVWriter
IOException
public void flush() throws IOException
AbstractCSVWriter
flush
in class AbstractCSVWriter
IOException
public void close() throws IOException
AbstractCSVWriter
close
in class AbstractCSVWriter
IOException
public AbstractCSVReader toReader()
reset()
public void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |