kantan.csv.engine

commons

object commons

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.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. commons
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type CSVFormat = org.apache.commons.csv.CSVFormat

  2. type CSVFormatBuilder = (CsvConfiguration) ⇒ CSVFormat

    Type of functions that create a CSVFormat instance from a given column separator.

  3. type QuoteMode = org.apache.commons.csv.QuoteMode

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. implicit val commonsCsvReaderEngine: ReaderEngine

    Default commons-csv ReaderEngine.

    Default commons-csv ReaderEngine.

    It's possible to tweak the behaviour of the underlying writer through readerEngineFrom.

  9. implicit val commonsCsvWriterEngine: WriterEngine

    Default commons-csv WriterEngine.

    Default commons-csv WriterEngine.

    It's possible to tweak the behaviour of the underlying writer through writerEngineFrom.

  10. def defaultFormat(conf: CsvConfiguration): CSVFormat

    Creates a default CSVFormat instance using the specified column separator.

  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. def readerEngineFrom(f: (CsvConfiguration) ⇒ CSVFormat): ReaderEngine

    Creates a new ReaderEngine from the specified kantan.csv.engine.commons.CSVFormatBuilder.

    Creates a new ReaderEngine from the specified kantan.csv.engine.commons.CSVFormatBuilder.

    The purpose of this is to let developers use some of the commons-csv features that kantan.csv does not expose through its public API.

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def toString(): String

    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def writerEngineFrom(f: (CsvConfiguration) ⇒ CSVFormat): WriterEngine

    Creates a new WriterEngine from the specified CSVFormatBuilder.

    Creates a new WriterEngine from the specified CSVFormatBuilder.

    The purpose of this is to let developers use some of the commons-csv features that kantan.csv does not expose through its public API.

Inherited from AnyRef

Inherited from Any

Ungrouped