CsvRendererRow

com.phasmidsoftware.tableparser.core.render.CsvRenderer.CsvRendererRow
object CsvRendererRow extends CsvRenderer[Row]

Implicit object that provides a CSV rendering implementation for the Row class.

This object extends the CsvRenderer type class for Row, enabling rows to be rendered as CSV strings. The default behavior concatenates the row elements (ws) into a single string, separated by the delimiter defined in the implicit CsvAttributes.

Attributes

See also

CsvRenderer

Row

Graph
Supertypes
trait CsvRenderer[Row]
trait Renderer[Row, String]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def render(r: Row, 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 methods

def render(t: Row): 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

Concrete fields