t

org.rogach.scallop

DefaultConverters

trait DefaultConverters extends AnyRef

Source
DefaultConverters.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultConverters
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
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. implicit val bigDecimalConverter: ValueConverter[BigDecimal]
  6. implicit val bigIntConverter: ValueConverter[BigInt]
  7. implicit val byteConverter: ValueConverter[Byte]
  8. implicit val byteListConverter: ValueConverter[List[Byte]]
  9. implicit val bytePropsConverter: ValueConverter[Map[String, Byte]]
  10. implicit val charConverter: ValueConverter[Char]
  11. implicit val charPropsConverter: ValueConverter[Map[String, Char]]
  12. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  13. implicit val doubleConverter: ValueConverter[Double]
  14. implicit val doubleListConverter: ValueConverter[List[Double]]
  15. implicit val doublePropsConverter: ValueConverter[Map[String, Double]]
  16. implicit val durationConverter: ValueConverter[Duration]
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. implicit val finiteDurationConverter: ValueConverter[FiniteDuration]
  21. implicit val flagConverter: ValueConverter[Boolean]
  22. implicit val floatConverter: ValueConverter[Float]
  23. implicit val floatListConverter: ValueConverter[List[Float]]
  24. implicit val floatPropsConverter: ValueConverter[Map[String, Float]]
  25. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. implicit val intConverter: ValueConverter[Int]
  28. implicit val intListConverter: ValueConverter[List[Int]]
  29. implicit val intPropsConverter: ValueConverter[Map[String, Int]]
  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. def listArgConverter[A](conv: (String) ⇒ A): ValueConverter[List[A]]
  32. implicit val longConverter: ValueConverter[Long]
  33. implicit val longListConverter: ValueConverter[List[Long]]
  34. implicit val longPropsConverter: ValueConverter[Map[String, Long]]
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. def numberHandler[T](name: String): PartialFunction[Throwable, Either[String, Option[T]]]

    Handler function for numeric types which expects a NumberFormatException and prints a more helpful error message.

    Handler function for numeric types which expects a NumberFormatException and prints a more helpful error message.

    name

    the type name to display

  39. def optDefault[A](default: A)(implicit conv: ValueConverter[A]): ValueConverter[A]
  40. def propsConverter[A](conv: ValueConverter[A]): ValueConverter[Map[String, A]]
  41. implicit val shortConverter: ValueConverter[Short]
  42. implicit val shortListConverter: ValueConverter[List[Short]]
  43. implicit val shortPropsConverter: ValueConverter[Map[String, Short]]
  44. def singleArgConverter[A](conv: (String) ⇒ A, handler: PartialFunction[Throwable, Either[String, Option[A]]] = PartialFunction.empty): ValueConverter[A]

    Create a converter for an argument with a single value.

    Create a converter for an argument with a single value.

    conv

    the conversion function to use, which may throw an exception on error

    handler

    an error handler function for writing custom error messages

  45. implicit val stringConverter: ValueConverter[String]
  46. implicit val stringListConverter: ValueConverter[List[String]]
  47. implicit val stringPropsConverter: ValueConverter[Map[String, String]]
  48. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  49. val tallyConverter: ValueConverter[Int]
  50. def toString(): String
    Definition Classes
    AnyRef → Any
  51. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped