Provides useful instance creation methods.
Attributes
Members list
Value members
Concrete methods
Creates a new CsvWriter instance that will send encoded data to the specified Writer
.
Creates a new CsvWriter instance that will send encoded data to the specified Writer
.
Which implementation of CsvWriter is returned is controlled by whatever implicit kantan.csv.engine.WriterEngine is found in scope. If none is explicitly imported, the internal one will be used.
Type parameters
- A
-
type of values that the returned instance will know to encode.
Value parameters
- conf
-
CSV writing behaviour.
- writer
-
where to write CSV data to.
Attributes
Creates a new CsvWriter instance.
Creates a new CsvWriter instance.
This method is meant to help interface third party libraries with kantan.csv.
Value parameters
- out
-
where to send CSV rows to - this is meant to be a third party library's csv writer.
- r
-
releases
out
once we're done writing. - w
-
writes a CSV row using
out
.
Attributes
Deprecated methods
Attributes
- Deprecated
- true