The type-class that is used to extract a config item of a particular type.
The type-class that is used to extract a config item of a particular type.
Accessor for TimeUnits.
Accessor for TimeUnits. This matches what typesafe config expects (see com.typesafe.config.impl.SimpleConfig), and adds some full singular form and medium abbreviation matchers.
The path is always relative and on the classpath.
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