java.lang.Object
swim.csv.Csv
Factory for constructing CSV parsers and writers.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T,R, C> swim.codec.Parser<T> bodyParser(CsvHeader<T, R, C> header) static <T,R, C> swim.codec.Parser<T> bodyParser(CsvHeader<T, R, C> header, int delimiter) static swim.codec.Parser<CsvHeader<swim.structure.Record,swim.structure.Value, swim.structure.Item>> static swim.codec.Parser<CsvHeader<swim.structure.Record,swim.structure.Value, swim.structure.Item>> headerParser(int delimiter) static <T,R, C> swim.codec.Parser<CsvHeader<T, R, C>> headerParser(CsvHeader<T, R, C> header) static <T,R, C> swim.codec.Parser<CsvHeader<T, R, C>> headerParser(CsvHeader<T, R, C> header, int delimiter) static <T,R, C> T static <T,R, C> T static <T,R, C> T static <T,R, C> T static <T,R, C> T parseBody(ByteBuffer csvBuffer, CsvHeader<T, R, C> header) static <T,R, C> T parseBody(ByteBuffer csvBuffer, CsvHeader<T, R, C> header, int delimiter) static CsvParserparser()static CsvParserparser(int delimiter) static <T,R, C> R static <T,R, C> R static <T,R, C> R static <T,R, C> R static <T,R, C> R parseRow(ByteBuffer csvBuffer, CsvHeader<T, R, C> header) static <T,R, C> R parseRow(ByteBuffer csvBuffer, CsvHeader<T, R, C> header, int delimiter) static swim.structure.RecordparseTable(byte[] csvData) static swim.structure.RecordparseTable(byte[] csvData, int delimiter) static <T,R, C> T parseTable(byte[] csvData, CsvHeader<T, R, C> header) static <T,R, C> T parseTable(byte[] csvData, CsvHeader<T, R, C> header, int delimiter) static swim.structure.RecordparseTable(String csvString) static swim.structure.RecordparseTable(String csvString, int delimiter) static <T,R, C> T parseTable(String csvString, CsvHeader<T, R, C> header) static <T,R, C> T parseTable(String csvString, CsvHeader<T, R, C> header, int delimiter) static swim.structure.RecordparseTable(ByteBuffer csvBuffer) static swim.structure.RecordparseTable(ByteBuffer csvBuffer, int delimiter) static <T,R, C> T parseTable(ByteBuffer csvBuffer, CsvHeader<T, R, C> header) static <T,R, C> T parseTable(ByteBuffer csvBuffer, CsvHeader<T, R, C> header, int delimiter) static <T,R, C> swim.codec.Parser<R> static <T,R, C> swim.codec.Parser<R> static swim.codec.Parser<swim.structure.Record>static swim.codec.Parser<swim.structure.Record>tableParser(int delimiter) static <T,R, C> swim.codec.Parser<T> tableParser(CsvHeader<T, R, C> header) static <T,R, C> swim.codec.Parser<T> tableParser(CsvHeader<T, R, C> header, int delimiter)
-
Method Details
-
parser
-
parser
-
parseTable
-
parseTable
-
parseTable
public static swim.structure.Record parseTable(byte[] csvData) -
parseTable
public static swim.structure.Record parseTable(byte[] csvData, int delimiter) -
parseTable
-
parseTable
-
parseTable
-
parseTable
-
parseTable
-
parseTable
-
parseTable
-
parseTable
-
parseBody
-
parseBody
-
parseBody
-
parseBody
-
parseBody
-
parseBody
-
parseRow
-
parseRow
-
parseRow
-
parseRow
-
parseRow
-
parseRow
-
tableParser
public static swim.codec.Parser<swim.structure.Record> tableParser() -
tableParser
public static swim.codec.Parser<swim.structure.Record> tableParser(int delimiter) -
tableParser
-
tableParser
-
headerParser
public static swim.codec.Parser<CsvHeader<swim.structure.Record,swim.structure.Value, headerParser()swim.structure.Item>> -
headerParser
public static swim.codec.Parser<CsvHeader<swim.structure.Record,swim.structure.Value, headerParserswim.structure.Item>> (int delimiter) -
headerParser
-
headerParser
-
bodyParser
-
bodyParser
-
rowParser
-
rowParser
-