Packages

final class ConfigExtensionMethods extends AnyVal

Extension methods to make Typesafe Config easier to use

Source
GlobalConfig.scala
Linear Supertypes
AnyVal, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConfigExtensionMethods
  2. AnyVal
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ConfigExtensionMethods(c: Config)

Value Members

  1. val c: Config
  2. def getBooleanOpt(path: String): Option[Boolean]
  3. def getBooleanOr(path: String, default: => Boolean = false): Boolean
  4. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  5. def getConfigOr(path: String, default: => Config = ConfigFactory.empty()): Config
  6. def getDurationOr(path: String, default: => Duration = Duration.Zero): Duration
  7. def getIntOpt(path: String): Option[Int]
  8. def getIntOr(path: String, default: => Int = 0): Int
  9. def getLongOpt(path: String): Option[Long]
  10. def getMillisecondsOr(path: String, default: => Long = 0L): Long
  11. def getPropertiesOpt(path: String): Option[Properties]
  12. def getPropertiesOr(path: String, default: => Properties = null): Properties
  13. def getStringOpt(path: String): Option[String]
  14. def getStringOr(path: String, default: => String = null): String
  15. def toProperties: Properties