CsvTableRenderer
com.phasmidsoftware.tableparser.core.render.CsvTableRenderer
abstract class CsvTableRenderer[T, O]()(using z1: CsvRenderer[T], z2: CsvGenerator[T], z3: Writable[O], ca: CsvAttributes) extends Renderer[Table[T], Try[O]]
Abstract class for rendering a tabular representation of type Table[T] to a sequentially writable format O, such as CSV, while utilizing implicit type classes for rendering cells and generating column names.
This class simplifies the conversion of tabular data (Table[T]) into a structured format (O) with support for customization through attributes and allows seamless integration with CSV-specific typeclasses.
Type parameters
- O
-
the type of the writable output; must have implicit evidence for
Writable. - T
-
the type of elements contained within the table; must have implicit evidence for
CsvRendererandCsvGenerator.
Attributes
- Graph
-
- Supertypes
- Known subtypes
-
class CsvTableFileRenderer[T]class CsvTableStringRenderer[T]
Members list
In this article