CsvAttributes

com.phasmidsoftware.tableparser.core.table.CsvAttributes
See theCsvAttributes companion object
case class CsvAttributes(delimiter: String, quote: String, newline: String = ...)

Case class for CSV attributes, especially for rendering as CSV. The defaults (a comma, a double quote and CRLF) write CSV as defined by RFC 4180 (https://www.rfc-editor.org/rfc/rfc4180).

For the RowConfig which reads tables as these CsvAttributes write them, see rowConfig (and, the other way round, RowConfig.csvAttributes).

Value parameters

delimiter

the delimiter.

newline

the line ending of each record (defaults to CRLF, as in RFC 4180; use "\n" for LF).

quote

the quote character.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product

Concrete fields

lazy val rowConfig: RowConfig

The RowConfig which reads tables as these CsvAttributes write them (see RowConfig.apply(CsvAttributes)).

The RowConfig which reads tables as these CsvAttributes write them (see RowConfig.apply(CsvAttributes)).

Attributes