CsvReader

ceesvee.CsvReader$
object CsvReader

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

object Options

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Options.type
trait Options extends Options

Attributes

Companion:
object
Graph
Supertypes
trait Options
class Object
trait Matchable
class Any
Known subtypes
class Impl

Value members

Concrete methods

def decode[T](in: Iterator[String], options: Options)(implicit D: CsvRecordDecoder[T]): Iterator[Either[Errors, T]]

Turns a stream of strings into a stream of decoded CSV records.

Turns a stream of strings into a stream of decoded CSV records.

The given strings must contain new lines as this method splits on them.

Blank lines and lines starting with '#' are ignored.

Attributes

def decodeWithHeader[T](in: Iterator[String], header: CsvHeader[T], options: Options): Either[MissingHeaders, Iterator[Either[Errors, T]]]

Turns a stream of strings into a stream of decoded CSV records.

Turns a stream of strings into a stream of decoded CSV records.

CSV lines are reordered based on the given headers.

Attributes