object ConfigurationLoader
- Alphabetic
- By Inheritance
- ConfigurationLoader
- AnyRef
- Any
- Hide All
- Show All
- 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
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
loadFromPath(path: String): Configuration
Load a configuration file from a path eg: file://.../config/application.conf
Load a configuration file from a path eg: file://.../config/application.conf
- path
the path where the config file is located.
- returns
the configuration loaded as Configuration
-
def
loadFromResources(name: String): Configuration
Load a configuration file from the resources folder eg: config/application.conf
Load a configuration file from the resources folder eg: config/application.conf
- name
the name of the resource
- returns
the configuration loaded as Configuration
-
def
loadFromString(configString: String): Configuration
Load a configuration file from a given string
Load a configuration file from a given string
- configString
the configuration as a string.
- returns
the configuration loaded as Configuration
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
implicit
def
resultToConfiguration(result: Result[Configuration]): Configuration
Implicit conversion - convert a Result[Configuration] to a Configuration by loading in succession the file passed in argument, the reference.conf or the application.conf.
Implicit conversion - convert a Result[Configuration] to a Configuration by loading in succession the file passed in argument, the reference.conf or the application.conf.
Throws an exception if no configuration file is found.
- result
result from an attempt to load a configuration file
- returns
the configuration file or a fallback configuration.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated