Class/Object

kantan.csv

CsvConfiguration

Related Docs: object CsvConfiguration | package csv

Permalink

final case class CsvConfiguration(cellSeparator: Char, quote: Char, quotePolicy: QuotePolicy, header: Header) extends Product with Serializable

Configuration for how to read / write CSV data.

Note that all engines don't necessarily support all features.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CsvConfiguration
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CsvConfiguration(cellSeparator: Char, quote: Char, quotePolicy: QuotePolicy, header: Header)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val cellSeparator: Char

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hasHeader: Boolean

    Permalink

    Checks whether this configuration has a header, either for reading or writing.

  11. val header: Header

    Permalink
  12. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. val quote: Char

    Permalink
  17. def quoteAll: CsvConfiguration

    Permalink

    Quote all cells, whether they need it or not.

  18. val quotePolicy: QuotePolicy

    Permalink
  19. def quoteWhenNeeded: CsvConfiguration

    Permalink

    Quote only cells that need it.

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

    Permalink
    Definition Classes
    AnyRef
  21. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def withCellSeparator(char: Char): CsvConfiguration

    Permalink

    Use the specified character for cell separator.

  25. def withHeader: CsvConfiguration

    Permalink

    Expect a header when reading, do not use one when writing.

  26. def withHeader(flag: Boolean): CsvConfiguration

    Permalink

    If flag is true, expect a header when reading.

    If flag is true, expect a header when reading. Otherwise, don't.

  27. def withHeader(ss: String*): CsvConfiguration

    Permalink

    Expect a header when reading, use the specified sequence when writing.

  28. def withHeader(header: Header): CsvConfiguration

    Permalink

    Use the specified header configuration.

  29. def withQuote(char: Char): CsvConfiguration

    Permalink

    Use the specified quote character.

  30. def withQuotePolicy(policy: QuotePolicy): CsvConfiguration

    Permalink

    Use the specified quoting policy.

  31. def withoutHeader: CsvConfiguration

    Permalink

    Do not use a header, either when reading or writing.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped