kotlin-csv
kotlin-csv copied to clipboard
Make common ancestor for CsvReaderContext and CsvWriterContext
trafficstars
It is required to create a common reading and writing rules. For example, TSV rule could look like this:
val TSV: CsvContext.()->Unit = {
charset = "ISO_8859_1"
quoteChar = '"'
delimiter = '\t'
escapeChar = '\\'
}
It could be used as:
csvReader(TSV)