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.

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

Instance Constructors

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

Value Members

  1. val cellSeparator: Char
  2. def hasHeader: Boolean

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

  3. val header: Header
  4. def productElementNames: Iterator[String]
    Definition Classes
    Product
  5. val quote: Char
  6. def quoteAll: CsvConfiguration

    Quote all cells, whether they need it or not.

  7. val quotePolicy: QuotePolicy
  8. def quoteWhenNeeded: CsvConfiguration

    Quote only cells that need it.

  9. def withCellSeparator(char: Char): CsvConfiguration

    Use the specified character for cell separator.

  10. def withHeader: CsvConfiguration

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

  11. def withHeader(flag: Boolean): CsvConfiguration

    If flag is true, expect a header when reading.

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

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

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

  13. def withHeader(header: Header): CsvConfiguration

    Use the specified header configuration.

  14. def withQuote(char: Char): CsvConfiguration

    Use the specified quote character.

  15. def withQuotePolicy(policy: QuotePolicy): CsvConfiguration

    Use the specified quoting policy.

  16. def withoutHeader: CsvConfiguration

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