final class ConfigExtensionMethods extends AnyVal
Extension methods to make Typesafe Config easier to use
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ConfigExtensionMethods
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ConfigExtensionMethods(c: Config)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val c: Config
- def getAnyRefOpt(path: String): Option[AnyRef]
- def getBooleanOpt(path: String): Option[Boolean]
- def getBooleanOr(path: String, default: ⇒ Boolean = false): Boolean
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def getConfigListOr(path: String, default: ⇒ Seq[Config] = Vector.empty): Seq[Config]
- def getConfigMapOr(path: String, default: ⇒ Map[String, ConfigValue] = Map.empty): Map[String, ConfigValue]
- def getConfigOpt(path: String): Option[Config]
- def getConfigOr(path: String, default: ⇒ Config = ConfigFactory.empty()): Config
- def getIntOpt(path: String): Option[Int]
- def getIntOr(path: String, default: ⇒ Int = 0): Int
- def getListOpt(path: String): Option[Seq[ConfigValue]]
- def getStringListOpt(path: String): Option[Seq[String]]
- def getStringListOr(path: String, default: ⇒ Seq[String] = Vector.empty): Seq[String]
- def getStringOpt(path: String): Option[String]
- def getStringOr(path: String, default: ⇒ String = null): String
- def getStringOrStringList(path: String, default: ⇒ Vector[String] = Vector.empty): Vector[String]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
toString(): String
- Definition Classes
- Any