CsvRenderer

com.phasmidsoftware.tableparser.core.render.CsvRenderer
See theCsvRenderer companion object
trait CsvRenderer[-T] extends Renderer[T, String]

Type class for rendering instances to CSV.

Type parameters

T

the contravariant type of object to be rendered.

Attributes

Companion
object
Graph
Supertypes
trait Renderer[T, String]
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Inherited methods

def render(t: T): String

Render an instance of T as an O, qualifying the rendering with no attributes.

Render an instance of T as an O, qualifying the rendering with no attributes.

Value parameters

t

a T to be rendered.

Attributes

Returns

an instance of type O.

Inherited from:
Renderer

Inherited and Abstract methods

def render(t: T, attrs: Map[String, String]): String

Render an instance of T as an O, qualifying the rendering with attributes defined in attrs.

Render an instance of T as an O, qualifying the rendering with attributes defined in attrs.

Value parameters

attrs

a map of attributes for this value of O.

t

the input parameter, i.e. the T object to render.

Attributes

Returns

an instance of type O.

Inherited from:
Renderer

Abstract fields