org.saddle.io.csv
package org.saddle.io.csv
Members list
Concise view
Value members
Concrete methods
def parseFromIteratorCallback(source: Iterator[CharBuffer], cols: Seq[Int], fieldSeparator: Char, quoteChar: Char, recordSeparator: String, maxLines: Long, header: Boolean)(prepare: Int => Unit, dataCallback: (String, Int) => Unit): Either[String, Option[Array[String]]]
Parse CSV files according to RFC 4180
Parse CSV files according to RFC 4180
Attributes
- cols
The column offsets to parse (if empty, parse everything)
- fieldSeparator
The separator; default is comma
- header
indicates whether the first line should be set aside
- maxLines
The maximum number of records that will be read from the file. Includes header.
- quoteChar
Within matching quotes, treat separChar as normal char; default is double-quote
- recordSeparator
Record separator (line ending)
- source
The csv data source to operate on
def readChannel(channel: ReadableByteChannel, bufferSize: Int, charset: CharsetDecoder): Iterator[CharBuffer]