|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jmatchparser.util.csv.CSVFactory
public class CSVFactory
Utility class to create CSV readers and writers based on an input file and a format string that describes the format of the CSV file.
| Method Summary | |
|---|---|
static AbstractCSVReader |
createReader(InputStream in,
String formatString)
Create an AbstractCSVReader from a format string. |
static AbstractCSVWriter |
createWriter(OutputStream out,
String formatString)
Create an AbstractCSVWriter from a format string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static AbstractCSVReader createReader(InputStream in,
String formatString)
throws IOException
AbstractCSVReader from a format string.
CSVReaderFixedWidthCSVReaderPropertiesCSVReaderXMLCSVReaderXPathCSVReader
in - Input stream to read data fromformatString - Format string
IOException
public static AbstractCSVWriter createWriter(OutputStream out,
String formatString)
throws IOException
AbstractCSVWriter from a format string.
CSVWriterFixedWidthCSVWriterPropertiesCSVWriterXMLCSVWriter
out - Output stream to write toformatString - Format string
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||