trait DefaultConverters extends AnyRef
- Source
- DefaultConverters.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DefaultConverters
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- implicit val bigDecimalConverter: ValueConverter[BigDecimal]
- implicit val bigIntConverter: ValueConverter[BigInt]
- implicit val byteConverter: ValueConverter[Byte]
- implicit val byteListConverter: ValueConverter[List[Byte]]
- implicit val bytePropsConverter: ValueConverter[Map[String, Byte]]
- implicit val charConverter: ValueConverter[Char]
- implicit val charPropsConverter: ValueConverter[Map[String, Char]]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- implicit val doubleConverter: ValueConverter[Double]
- implicit val doubleListConverter: ValueConverter[List[Double]]
- implicit val doublePropsConverter: ValueConverter[Map[String, Double]]
- implicit val durationConverter: ValueConverter[Duration]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- implicit val finiteDurationConverter: ValueConverter[FiniteDuration]
- implicit val flagConverter: ValueConverter[Boolean]
- implicit val floatConverter: ValueConverter[Float]
- implicit val floatListConverter: ValueConverter[List[Float]]
- implicit val floatPropsConverter: ValueConverter[Map[String, Float]]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- implicit val intConverter: ValueConverter[Int]
- implicit val intListConverter: ValueConverter[List[Int]]
- implicit val intPropsConverter: ValueConverter[Map[String, Int]]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def listArgConverter[A](conv: (String) ⇒ A): ValueConverter[List[A]]
- implicit val longConverter: ValueConverter[Long]
- implicit val longListConverter: ValueConverter[List[Long]]
- implicit val longPropsConverter: ValueConverter[Map[String, Long]]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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
- def optDefault[A](default: A)(implicit conv: ValueConverter[A]): ValueConverter[A]
- def propsConverter[A](conv: ValueConverter[A]): ValueConverter[Map[String, A]]
- implicit val shortConverter: ValueConverter[Short]
- implicit val shortListConverter: ValueConverter[List[Short]]
- implicit val shortPropsConverter: ValueConverter[Map[String, Short]]
-
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
- implicit val stringConverter: ValueConverter[String]
- implicit val stringListConverter: ValueConverter[List[String]]
- implicit val stringPropsConverter: ValueConverter[Map[String, String]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val tallyConverter: ValueConverter[Int]
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )