org.saddle.io.csv

Members list

Type members

Classlikes

trait Callback

Attributes

Supertypes
class Object
trait Matchable
class Any
sealed trait Control

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Done.type
class Error
object Next.type
case object Done extends Control

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Control
class Object
trait Matchable
class Any
Show all
Self type
Done.type
case class Error(error: String) extends Control

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Control
class Object
trait Matchable
class Any
Show all
case object Next extends Control

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Control
class Object
trait Matchable
class Any
Show all
Self type
Next.type

Value members

Concrete methods

def makeAsciiSilentCharsetDecoder: CharsetDecoder
def parse(channel: ReadableByteChannel, callback: Callback, charset: CharsetDecoder, bufferSize: Int, fieldSeparator: Char, quoteChar: Char, recordSeparator: String): Option[String]

Parse CSV files according to RFC 4180

Parse CSV files according to RFC 4180

Value parameters

bufferSize

Must be larger than the longest token (CSV cell) in the data.

callback

An instance of the Callback which will be called on a group of tokens.

channel

The csv data channel to read from

charset

A charset decoder. Must be in new or reset state.

fieldSeparator

The separator; default is comma

quoteChar

Within matching quotes, treat separChar as normal char; default is double-quote

recordSeparator

Record separator (line ending). Its length must be one or two.

Attributes