trait
ConfigurationInstances extends AnyRef
Type Members
-
trait
Accessor[A] extends AnyRef
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
-
-
implicit
def
ClassAccessor[A](implicit arg0: ClassTag[A]): Accessor[Class[A]]
-
-
-
implicit
def
ConfigReaderAccessor[A](implicit arg0: config.ConfigReader[A]): Accessor[A]
-
-
-
-
-
-
-
-
implicit
def
OptionAccessor[A](implicit arg0: Accessor[A]): Accessor[Option[A]]
-
implicit
def
ResultTAccessor[F[_], A](implicit arg0: Applicative[F], arg1: Accessor[A]): Accessor[result.ResultT[F, A]]
-
-
-
-
-
final
def
asInstanceOf[T0]: T0
-
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
val
failIfMissing: ConfigParseOptions
-
def
finalize(): Unit
-
-
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
Simple user-friendly wrapper around Config.
Provides a single type-safe apply method for getting values out from the configuration.
Usage:
Note that formatting or other problems will throw exceptions.
You can also optionally find correct config items or validate and check their correctness (with Either):
The Accessor type-classes implement the glue to get the specific type configuration item.
Details on the underlying configuration file specification can be found here: https://github.com/typesafehub/config/blob/master/HOCON.md