lowlevel
Low level pipes for CSV handling. All pipes only perform one step in a CSV (de)serialization pipeline, so use these if you want to customise. All standard use cases should be covered by the higher level pipes directly on the csv package which are composed of the lower level ones here.
Value members
Concrete methods
Decodes simple rows (without headers) into a specified type using a suitable RowDecoder, but signal errors as values.
Decodes simple rows (without headers) into a specified type using a suitable RowDecoder, but signal errors as values.
Decodes CsvRows (with headers) into a specified type using a suitable CsvRowDecoder, but signal errors as values.
Decodes CsvRows (with headers) into a specified type using a suitable CsvRowDecoder, but signal errors as values.
Decodes simple rows (without headers) into a specified type using a suitable RowDecoder.
Decodes simple rows (without headers) into a specified type using a suitable RowDecoder.
Decodes CsvRows (with headers) into a specified type using a suitable CsvRowDecoder.
Decodes CsvRows (with headers) into a specified type using a suitable CsvRowDecoder.
Encode a given type into simple CSV rows without headers.
Encode a given type into simple CSV rows without headers.
Encode a given type into CSV row with headers taken from the first element. If the input stream is empty, the output is as well.
Encode a given type into CSV row with headers taken from the first element. If the input stream is empty, the output is as well.
Transforms a stream of raw CSV rows into parsed CSV rows with headers.
Transforms a stream of raw CSV rows into parsed CSV rows with headers.
Transforms a stream of raw CSV rows into parsed CSV rows with headers, with failures at the element level instead of failing the stream
Transforms a stream of raw CSV rows into parsed CSV rows with headers, with failures at the element level instead of failing the stream
Transforms a stream of characters into a stream of CSV rows.
Transforms a stream of characters into a stream of CSV rows.
- Value parameters:
- quoteHandling
use QuoteHandling.RFCCompliant for RFC-4180 handling of quotation marks (optionally quoted if the value begins with a quotation mark; the default) or QuoteHandling.Literal if quotation marks should be treated literally
- separator
character to use to separate fields in the CSV
Transforms a stream of raw CSV rows into rows, skipping the first row to ignore the headers.
Transforms a stream of raw CSV rows into rows, skipping the first row to ignore the headers.
Serialize a CSV row to Strings. Guaranteed to emit one String per CSV row (= one line if no quoted newlines are contained in the value).
Serialize a CSV row to Strings. Guaranteed to emit one String per CSV row (= one line if no quoted newlines are contained in the value).
Serialize a CSV row to Strings. No guarantees are given on how the resulting Strings are cut.
Serialize a CSV row to Strings. No guarantees are given on how the resulting Strings are cut.
Transforms a stream of raw CSV rows into parsed CSV rows with given headers.
Transforms a stream of raw CSV rows into parsed CSV rows with given headers.
Encode a given type into CSV rows using a set of explicitly given headers.
Encode a given type into CSV rows using a set of explicitly given headers.