Csv

abstract class Csv(val allRows: List<CsvRow>)

Base class for CSV data, containing all rows of the CSV file.

Inheritors

Constructors

Link copied to clipboard
constructor(allRows: List<CsvRow>)

Properties

Link copied to clipboard

all rows in the CSV file, including header if present

Link copied to clipboard
abstract val data: List<CsvDataRow>

Functions

Link copied to clipboard
fun toCsvText(newLine: NewLine = NewLine.LF, escapeWhitespaces: Boolean = false): String

Converts the CSV data to a CSV-formatted string.