java.lang.Object
swim.csv.parser.CsvParser
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T,
R, C> Parser<T> bodyParser
(CsvHeader<T, R, C> header) final int
headerParser
(CsvHeader<T, R, C> header) boolean
isDelimiter
(int c) <T,
R, C> Parser<T> <T,
R, C> T parseBodyBuffer
(CsvHeader<T, R, C> header, ByteBuffer buffer) <T,
R, C> T parseBodyData
(CsvHeader<T, R, C> header, byte[] data) <T,
R, C> T parseBodyString
(CsvHeader<T, R, C> header, String string) <C> Parser<C>
parseHeader
(Input input, CsvHeader<T, R, C> header) <T,
R, C> Parser<R> <T,
R, C> R parseRowBuffer
(CsvHeader<T, R, C> header, ByteBuffer buffer) <T,
R, C> R parseRowData
(CsvHeader<T, R, C> header, byte[] data) <T,
R, C> R parseRowString
(CsvHeader<T, R, C> header, String string) <T,
R, C> Parser<T> parseTable
(Input input, CsvHeader<T, R, C> header) <T,
R, C> T parseTableBuffer
(CsvHeader<T, R, C> header, ByteBuffer buffer) <T,
R, C> T parseTableData
(CsvHeader<T, R, C> header, byte[] data) <T,
R, C> T parseTableString
(CsvHeader<T, R, C> header, String string) <T,
R, C> Parser<R> <T,
R, C> Parser<T> tableParser
(CsvHeader<T, R, C> header)
-
Field Details
-
delimiter
protected final int delimiter
-
-
Constructor Details
-
CsvParser
public CsvParser(int delimiter)
-
-
Method Details
-
delimiter
public final int delimiter() -
isDelimiter
public boolean isDelimiter(int c) -
parseTable
-
parseHeader
-
parseBody
-
parseRow
-
parseCell
-
tableParser
-
headerParser
-
bodyParser
-
rowParser
-
parseTableString
-
parseTableData
-
parseTableBuffer
-
parseBodyString
-
parseBodyData
-
parseBodyBuffer
-
parseRowString
-
parseRowData
-
parseRowBuffer
-