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
- Alphabetic
- By Inheritance
Inherited
- CsvConfiguration
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new CsvConfiguration(cellSeparator: Char, quote: Char, quotePolicy: QuotePolicy, header: Header)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val cellSeparator: Char
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hasHeader: Boolean
Checks whether this configuration has a header, either for reading or writing.
- val header: Header
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val quote: Char
- def quoteAll: CsvConfiguration
Quote all cells, whether they need it or not.
- val quotePolicy: QuotePolicy
- def quoteWhenNeeded: CsvConfiguration
Quote only cells that need it.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withCellSeparator(char: Char): CsvConfiguration
Use the specified character for cell separator.
- def withHeader: CsvConfiguration
Expect a header when reading, do not use one when writing.
- def withHeader(flag: Boolean): CsvConfiguration
If
flag
istrue
, expect a header when reading.If
flag
istrue
, expect a header when reading. Otherwise, don't. - def withHeader(ss: String*): CsvConfiguration
Expect a header when reading, use the specified sequence when writing.
- def withHeader(header: Header): CsvConfiguration
Use the specified header configuration.
- def withQuote(char: Char): CsvConfiguration
Use the specified quote character.
- def withQuotePolicy(policy: QuotePolicy): CsvConfiguration
Use the specified quoting policy.
- def withoutHeader: CsvConfiguration
Do not use a header, either when reading or writing.