fi.pelam.csv.table

TableReaderConfig

object TableReaderConfig

A set of functions that map various things used as parameters for fi.pelam.csv.table.TableReader.

Idea is to allow various simpler ways of configuring the TableReader.

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

Type Members

  1. type ParserProvider[RT, CT] = PartialFunction[CellType[RT, CT], Parser]

    A type to be passed to .makeCellUpgrader.

    A type to be passed to .makeCellUpgrader. A partial function that can accept a CellType and return a Cell Parser.

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. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  8. def errorOnUndefinedCol[RT, CT](typer: ColTyper[RT, CT]): ColTyper[RT, CT]

  9. def errorOnUndefinedRow[RT](typer: RowTyper[RT]): RowTyper[RT]

  10. implicit def fileToStream(file: File): () ⇒ InputStream

  11. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  15. def makeCellUpgrader[RT, CT](parserProvider: ParserProvider[RT, CT]): CellUpgrader[RT, CT]

    This is a helper method to setup a simple cell upgrader for fi.pelam.csv.table.TableReader from a map of CellTypes to Cell Parsers.

    This is a helper method to setup a simple cell upgrader for fi.pelam.csv.table.TableReader from a map of CellTypes to Cell Parsers.

    RT

    client specific row type

    CT

    client specific column type

    parserProvider

    a map from CellTypes to CellParsers

    returns

    a TableReader.CellUpgrader to be passed to TableReader

  16. def makeColTyper[RT, CT](colTyper: PartialFunction[(CellKey, String), CT]): ColTyper[RT, CT]

  17. def makeRowTyper[RT](rowTyper: PartialFunction[(CellKey, String), RT]): RowTyper[RT]

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

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

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

    Definition Classes
    AnyRef
  21. implicit def stringToStream(string: String): () ⇒ InputStream

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

    Definition Classes
    AnyRef
  23. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped