CsvGenerator

com.phasmidsoftware.tableparser.core.render.CsvGenerator
See theCsvGenerator companion object
trait CsvGenerator[-T]

Trait (typeclass) for generating headers for CSV output.

CONSIDER why do we need this? It takes a lot of effort to set up, which is essentially the same as for CsvRenderer[T].

NOTE: this is an unusual type class in that none of its methods reference type T.

Type parameters

T

the contravariant type of the objects to be rendered by CSV.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def toColumnName(po: Option[String], name: String): String

Method to generate a list of appropriate column names for a value of t.

Method to generate a list of appropriate column names for a value of t.

Value parameters

name

the name of this column.

po

the (optional) name of the parent.

Attributes

Returns

a list of names of the form parent.column.

Abstract fields