CSVPrinter

class CSVPrinter(filePath: Path, header: List<String>) : Flushable

Writes CSV files.

Parameters

filePath

path to the file to be written

header

header of the csv file

Constructors

Link copied to clipboard
constructor(filePath: Path, header: List<String>)

Functions

Link copied to clipboard
open override fun flush()

Flushes the stream.

Link copied to clipboard
fun printRecord(vararg values: Any)

Prints the given values as a single record.