fi.pelam.csv

CsvConstants

object CsvConstants

This object contains some common CSV data related constants.

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

Value Members

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

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

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

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

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val commonCharsets: IndexedSeq[Charset]

    Somewhat ad hoc list of charsets that could be common.

    Somewhat ad hoc list of charsets that could be common. If you have a better idea what should be here, let me know! Cyrillic? Asian?

    Idea is that this contains a small set of guesses that together would cover a large fraction of real world cases. Full coverage is not feasible so only charsets with presumed relatively large user base should be included.

    This is list is the default set of attempted locales in fi.pelam.csv.table.DetectingTableReader.

    If this library is used in some rare context, then the defaults provided in this class will most likely have to be overridden appropriately by client code.

  7. val commonLocales: IndexedSeq[Locale]

    Pretty much ad hoc list of locales that could be common.

    Pretty much ad hoc list of locales that could be common. If you have a better idea what should be here, let me know!

    Idea is that this contains a small set of guesses that together would cover a large fraction of real world cases. Full coverage is not feasible so only locales with presumed relatively large user base should be included.

    This is list is the default set of attempted locales in fi.pelam.csv.table.DetectingTableReader.

    If this library is used in some rare context, then the defaults provided in this class will most likely have to be overridden appropriately by client code.

  8. val commonSeparators: IndexedSeq[Char]

    Somewhat ad hoc list of charsets that could be common.

    Somewhat ad hoc list of charsets that could be common. If you have a better idea what should be here, let me know! Cyrillic? Asian?

    Idea is that this contains a small set of guesses that together would cover a large fraction of real world cases. Full coverage is not feasible so only separator with presumed relatively large user base should be included.

    This is list is the default set of attempted locales in fi.pelam.csv.table.DetectingTableReader.

    If this library is used in some rare context, then the defaults provided in this class will most likely have to be overridden appropriately by client code.

  9. val defaultCharset: Charset

    There is no really any de facto character set for CSV, but UTF-8 is a good place to start with for anything.

  10. val defaultSeparatorChar: Char

    Default separator in CSV is the comma as in "Comma Separated Values".

    Default separator in CSV is the comma as in "Comma Separated Values".

    However this changes depending on locale. Comma is not used in (some?) locales where standard number formats use comma as the decimal separator.

    At least MS Excel with Finnish locale uses semicolon as separator.

  11. val doubleQuote: String

    Quote char escaped as two quotes.

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

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

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

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

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

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

    Definition Classes
    Any
  18. val localeFi: Locale

    Constant for commonLocales.

  19. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  22. val quote: String

    Double quote as string.

  23. val quoteChar: Char

    Excel uses double quotes for cells containing the current separator character.

    Excel uses double quotes for cells containing the current separator character. Two double quotes are used to encode a doulbe quote character in cell.

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

    Definition Classes
    AnyRef
  25. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped