Returns an empty Configuration object.
Create a ConfigFactory object from the data passed as a Map.
Loads a new Configuration either from the classpath or from
conf/application.conf depending on the application's Mode.
Loads a new Configuration either from the classpath or from
conf/application.conf depending on the application's Mode.
The provieded mode is used if the application is not ready
yet, just like when calling this method from play.api.Application.
Defaults to Mode.Dev
Application mode.
a Configuration instance
This object provides a set of operations to create
Configurationvalues.For example, to load a
Configurationin a running application:val config = Configuration.load() val foo = config.getString("foo").getOrElse("boo")The underlying implementation is provided by https://github.com/typesafehub/config.