CsvWriter

ceesvee.CsvWriter
object CsvWriter

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
CsvWriter.type

Members list

Value members

Concrete methods

def encode[T](rows: Iterator[T])(implicit E: CsvRecordEncoder[T]): Iterator[String]

Encode rows into CSV lines.

Encode rows into CSV lines.

Attributes

def encodeWithHeader[T](header: Iterable[String], rows: Iterator[T])(implicit E: CsvRecordEncoder[T]): Iterator[String]

Encode rows into CSV lines prepending the given header.

Encode rows into CSV lines prepending the given header.

Attributes

def fieldsToLine(fields: Iterable[String]): String
def isWhitespace(c: Char): Boolean
def needsQuoting(s: String): Boolean
def quoteField(field: String): String