com.github.marklister.collections.io

GeneralConverter

Related Docs: class GeneralConverter | package io

object GeneralConverter

The companion class for GeneralConverter. It contains several default converters used by com.github.marklister.collections.io.CsvParser

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

Type Members

  1. class DateConverter extends GeneralConverter[Date]

    A converter for dates (intended to be used by CsvParser) using an underlying java.text.SimpleDateFormat.

    A converter for dates (intended to be used by CsvParser) using an underlying java.text.SimpleDateFormat.

    You can create one like so:

    implicit val ymd=new DateConverter("yyyy-MM-dd")

    The compiler will then provide this converter to CsvParser whenever you try to parse a java.util.Date

    Annotations
    @deprecated
    Deprecated

    In order to align the scala.js and jvm versions of this library DateConverter is depreciated. You can still define your own converter see the docs.

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. implicit val BooleanConverter: GeneralConverter[Boolean]

  5. implicit val ByteConverter: GeneralConverter[Byte]

  6. implicit val DoubleConverter: GeneralConverter[Double]

  7. implicit val FloatConverter: GeneralConverter[Float]

  8. implicit val IntConverter: GeneralConverter[Int]

  9. implicit val LongConverter: GeneralConverter[Long]

  10. implicit val OptionBooleanConverter: GeneralConverter[Option[Boolean]]

  11. implicit val OptionDoubleConverter: GeneralConverter[Option[Double]]

  12. implicit val OptionIntConverter: GeneralConverter[Option[Int]]

  13. implicit val OptionLongConverter: GeneralConverter[Option[Long]]

  14. implicit val OptionStringConverter: GeneralConverter[Option[String]]

  15. implicit val ShortConverter: GeneralConverter[Short]

  16. implicit val StringConverter: GeneralConverter[String]

  17. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  18. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. val DMYConverter: DateConverter

    A com.github.marklister.collections.io.GeneralConverter that converts a String to a Date

    A com.github.marklister.collections.io.GeneralConverter that converts a String to a Date

    This is provided as a prebuilt example: use it like this:

    implicit val dmy=GeneralConverter.DMYConverter

    The pattern used is dd-MM-yy

    Annotations
    @deprecated
    Deprecated

    In order to align the scala.js and jvm versions of this library DateConverter is depreciated. You can still define your own converter see the docs.

Inherited from AnyRef

Inherited from Any

Ungrouped