Packages

p

kantan.csv

engine

package engine

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. engine
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package commons

    Provides CSV reader and writer engines using commons-csv.

    Provides CSV reader and writer engines using commons-csv.

    Importing kantan.csv.engine.commons._ will replace default engines by the commons-backed ones. If you need to tweak how commons-csv behaves, however, you can handcraft engines though readerEngineFrom and writerEngineFrom - all you need is a function that knows how to turn a column separator character in an instance of CSVFormat.

Type Members

  1. trait ReaderEngine extends AnyRef

    Provides kantan.csv with CSV parsing functionality.

    Provides kantan.csv with CSV parsing functionality.

    All methods that will need to create a new instance of CsvReader expect and rely on an implicit ReaderEngine parameter. This allows third party libraries to plug into kantan.csv and replace the default parser at the cost of a simple import.

  2. trait WriterEngine extends AnyRef

    Provides factory-like services for CsvWriter.

    Provides factory-like services for CsvWriter.

    Functions that create instances of CsvWriter, either as part of their return types or for internal operations, can declare an implicit CsvWriter parameter. If one is imported explicitly (such as the Jackson engine), it will be used. Otherwise, the internal one is always in scope.

    See also

    ReaderEngine

Value Members

  1. implicit def javaIterator(it: Iterator[Array[String]]): Iterator[Seq[String]]

    Converts a java iterator of arrays of strings into a scala iterator of sequence of strings.

    Converts a java iterator of arrays of strings into a scala iterator of sequence of strings.

    This is useful when writing ReaderEngine implementations for Java libraries.

  2. object ReaderEngine

    Provides instance creation methods and default implementations.

  3. object WriterEngine

    Provides creation methods and default implementations.

Inherited from AnyRef

Inherited from Any

Ungrouped