Class/Object

org.emmalanguage.io.csv

CSV

Related Docs: object CSV | package csv

Permalink

case class CSV(header: Boolean = defaultHeader, delimiter: Char = defaultDelimiter, delimitSeq: Char = defaultDelimitSeq, charset: String = defaultCharset, quote: Option[Char] = defaultQuote, escape: Option[Char] = defaultEscape, comment: Option[Char] = defaultComment, nullValue: String = defaultNullValue, skipRows: Int = defaultSkipRows) extends Format with Product with Serializable

CSV format configuration.

header

Indicate the presence of a CSV header (to be ignored when reading).

delimiter

Column delimiter character.

delimitSeq

Sequence delimiter character (used by CSV converters for collections).

charset

Character set.

quote

Delimiters inside quotes are ignored.

escape

Escaped characters are always treated as data.

comment

Lines starting with a comment character are ignored.

nullValue

Fields matching this string will be set to null.

skipRows

Skip a number of rows starting at the beginning of the file.

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

Instance Constructors

  1. new CSV(header: Boolean = defaultHeader, delimiter: Char = defaultDelimiter, delimitSeq: Char = defaultDelimitSeq, charset: String = defaultCharset, quote: Option[Char] = defaultQuote, escape: Option[Char] = defaultEscape, comment: Option[Char] = defaultComment, nullValue: String = defaultNullValue, skipRows: Int = defaultSkipRows)

    Permalink

    header

    Indicate the presence of a CSV header (to be ignored when reading).

    delimiter

    Column delimiter character.

    delimitSeq

    Sequence delimiter character (used by CSV converters for collections).

    charset

    Character set.

    quote

    Delimiters inside quotes are ignored.

    escape

    Escaped characters are always treated as data.

    comment

    Lines starting with a comment character are ignored.

    nullValue

    Fields matching this string will be set to null.

    skipRows

    Skip a number of rows starting at the beginning of the file.

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 charset: String

    Permalink

    Character set.

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val comment: Option[Char]

    Permalink

    Lines starting with a comment character are ignored.

  8. val delimitSeq: Char

    Permalink

    Sequence delimiter character (used by CSV converters for collections).

  9. val delimiter: Char

    Permalink

    Column delimiter character.

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

    Permalink
    Definition Classes
    AnyRef
  11. val escape: Option[Char]

    Permalink

    Escaped characters are always treated as data.

  12. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. val header: Boolean

    Permalink

    Indicate the presence of a CSV header (to be ignored when reading).

  15. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  19. val nullValue: String

    Permalink

    Fields matching this string will be set to null.

  20. val quote: Option[Char]

    Permalink

    Delimiters inside quotes are ignored.

  21. val skipRows: Int

    Permalink

    Skip a number of rows starting at the beginning of the file.

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Format

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped