final class ConfigExtensionMethods extends AnyVal
Extension methods to make Typesafe Config easier to use
- Source
- GlobalConfig.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- ConfigExtensionMethods
- AnyVal
- Any
Implicitly
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ConfigExtensionMethods(c: Config)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def ->[B](y: B): (ConfigExtensionMethods, B)
- Implicit
- This member is added by an implicit conversion from ConfigExtensionMethods toArrowAssoc[ConfigExtensionMethods] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val c: Config
- def ensuring(cond: (ConfigExtensionMethods) => Boolean, msg: => Any): ConfigExtensionMethods
- Implicit
- This member is added by an implicit conversion from ConfigExtensionMethods toEnsuring[ConfigExtensionMethods] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (ConfigExtensionMethods) => Boolean): ConfigExtensionMethods
- Implicit
- This member is added by an implicit conversion from ConfigExtensionMethods toEnsuring[ConfigExtensionMethods] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): ConfigExtensionMethods
- Implicit
- This member is added by an implicit conversion from ConfigExtensionMethods toEnsuring[ConfigExtensionMethods] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): ConfigExtensionMethods
- Implicit
- This member is added by an implicit conversion from ConfigExtensionMethods toEnsuring[ConfigExtensionMethods] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def getBooleanOpt(path: String): Option[Boolean]
- def getBooleanOr(path: String, default: => Boolean = false): Boolean
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def getConfigOr(path: String, default: => Config = ConfigFactory.empty()): Config
- def getDurationOr(path: String, default: => Duration = Duration.Zero): Duration
- def getIntOpt(path: String): Option[Int]
- def getIntOr(path: String, default: => Int = 0): Int
- def getLongOpt(path: String): Option[Long]
- def getMillisecondsOr(path: String, default: => Long = 0L): Long
- def getPropertiesOpt(path: String): Option[Properties]
- def getPropertiesOr(path: String, default: => Properties = null): Properties
- def getStringOpt(path: String): Option[String]
- def getStringOr(path: String, default: => String = null): String
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toProperties: Properties
- def toString(): String
- Definition Classes
- Any
Deprecated Value Members
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ConfigExtensionMethods toStringFormat[ConfigExtensionMethods] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (ConfigExtensionMethods, B)
- Implicit
- This member is added by an implicit conversion from ConfigExtensionMethods toArrowAssoc[ConfigExtensionMethods] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
edit this text on github
Scala Language-Integrated Connection Kit
This is the API documentation for the Slick database library. It should be used as an additional resource to the user manual.
Further documentation for Slick can be found on the documentation pages.
To the slick package list...