object ConfigConvert extends ConvertHelpers
Provides methods to create ConfigConvert instances.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ConfigConvert
- ConvertHelpers
- 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
- def apply[A](reader: ConfigReader[A], writer: ConfigWriter[A]): ConfigConvert[A]
- def apply[A](implicit conv: ConfigConvert[A]): ConfigConvert[A]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
catchReadError[A](f: (String) ⇒ A)(implicit ct: ClassTag[A]): (String) ⇒ Either[FailureReason, A]
- Definition Classes
- ConvertHelpers
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- implicit def fromReaderAndWriter[A](implicit reader: ConfigReader[A], writer: ConfigWriter[A]): ConfigConvert[A]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
optF[A](f: (String) ⇒ Option[A])(implicit ct: ClassTag[A]): (String) ⇒ Either[FailureReason, A]
Convert a
String => Option
into aString => Option[ConfigValueLocation] => Either
such that after applicationConvert a
String => Option
into aString => Option[ConfigValueLocation] => Either
such that after applicationSome(t)
becomes_ => Right(t)
None
becomeslocation => Left(CannotConvert(value, type, "", location)
- Definition Classes
- ConvertHelpers
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
tryF[A](f: (String) ⇒ Try[A])(implicit ct: ClassTag[A]): (String) ⇒ Either[FailureReason, A]
Convert a
String => Try
into aString => Option[ConfigValueLocation] => Either
such that after applicationConvert a
String => Try
into aString => Option[ConfigValueLocation] => Either
such that after applicationSuccess(t)
becomes_ => Right(t)
Failure(e)
becomeslocation => Left(CannotConvert(value, type, e.getMessage, location)
- Definition Classes
- ConvertHelpers
- def viaNonEmptyString[A](fromF: (String) ⇒ Either[FailureReason, A], toF: (A) ⇒ String)(implicit ct: ClassTag[A]): ConfigConvert[A]
- def viaNonEmptyStringOpt[A](fromF: (String) ⇒ Option[A], toF: (A) ⇒ String)(implicit arg0: ClassTag[A]): ConfigConvert[A]
- def viaNonEmptyStringTry[A](fromF: (String) ⇒ Try[A], toF: (A) ⇒ String)(implicit arg0: ClassTag[A]): ConfigConvert[A]
- def viaString[A](fromF: (String) ⇒ Either[FailureReason, A], toF: (A) ⇒ String): ConfigConvert[A]
- def viaStringOpt[A](fromF: (String) ⇒ Option[A], toF: (A) ⇒ String)(implicit arg0: ClassTag[A]): ConfigConvert[A]
- def viaStringTry[A](fromF: (String) ⇒ Try[A], toF: (A) ⇒ String)(implicit arg0: ClassTag[A]): ConfigConvert[A]
-
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
- @throws( ... ) @native()