uk.co.bigbeeconsultants.bconfig

Config

final class Config extends ListMap[String, String]

Provides configuration data in the form of a Scala map. Normally, the class constructor shouldn't be used; instead, the object 'apply' factory methods provide all the necessary parsing and string interpolation behaviour.

Linear Supertypes
ListMap[String, String], Serializable, Serializable, AbstractMap[String, String], Map[String, String], MapLike[String, String, ListMap[String, String]], Iterable[(String, String)], Traversable[(String, String)], Immutable, AbstractMap[String, String], Map[String, String], MapLike[String, String, ListMap[String, String]], Subtractable[String, ListMap[String, String]], PartialFunction[String, String], (String) ⇒ String, GenMap[String, String], GenMapLike[String, String, ListMap[String, String]], AbstractIterable[(String, String)], Iterable[(String, String)], IterableLike[(String, String), ListMap[String, String]], Equals, GenIterable[(String, String)], GenIterableLike[(String, String), ListMap[String, String]], AbstractTraversable[(String, String)], Traversable[(String, String)], GenTraversable[(String, String)], GenericTraversableTemplate[(String, String), Iterable], TraversableLike[(String, String), ListMap[String, String]], GenTraversableLike[(String, String), ListMap[String, String]], Parallelizable[(String, String), ParMap[String, String]], TraversableOnce[(String, String)], GenTraversableOnce[(String, String)], FilterMonadic[(String, String), ListMap[String, String]], HasNewBuilder[(String, String), ListMap[String, String]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Config
  2. ListMap
  3. Serializable
  4. Serializable
  5. AbstractMap
  6. Map
  7. MapLike
  8. Iterable
  9. Traversable
  10. Immutable
  11. AbstractMap
  12. Map
  13. MapLike
  14. Subtractable
  15. PartialFunction
  16. Function1
  17. GenMap
  18. GenMapLike
  19. AbstractIterable
  20. Iterable
  21. IterableLike
  22. Equals
  23. GenIterable
  24. GenIterableLike
  25. AbstractTraversable
  26. Traversable
  27. GenTraversable
  28. GenericTraversableTemplate
  29. TraversableLike
  30. GenTraversableLike
  31. Parallelizable
  32. TraversableOnce
  33. GenTraversableOnce
  34. FilterMonadic
  35. HasNewBuilder
  36. AnyRef
  37. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Config(seq: ListMap[String, String])

    seq

    the resolved source data.

Type Members

  1. class DefaultKeySet extends AbstractSet[A] with Set[A] with Serializable

    Attributes
    protected
    Definition Classes
    MapLike
  2. class DefaultValuesIterable extends AbstractIterable[B] with Iterable[B] with Serializable

    Attributes
    protected
    Definition Classes
    MapLike
  3. class FilteredKeys extends AbstractMap[A, B] with DefaultMap[A, B]

    Attributes
    protected
    Definition Classes
    MapLike
  4. class ImmutableDefaultKeySet extends scala.collection.immutable.MapLike.DefaultKeySet with Set[A]

    Attributes
    protected
    Definition Classes
    MapLike
  5. class MappedValues[C] extends AbstractMap[A, C] with DefaultMap[A, C]

    Attributes
    protected
    Definition Classes
    MapLike
  6. class Node[B1 >: B] extends ListMap[A, B1] with Serializable

    Attributes
    protected
    Definition Classes
    ListMap
    Annotations
    @SerialVersionUID()
  7. type Self = ListMap[String, String]

    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  8. class WithFilter extends FilterMonadic[A, Repr]

    Definition Classes
    TraversableLike

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def +[B >: String](elem1: (String, B), elem2: (String, B), elems: (String, B)*): Config

    Adds two or more elements to this collection and returns a new collection.

    Adds two or more elements to this collection and returns a new collection.

    elem1

    the first element to add.

    elem2

    the second element to add.

    elems

    the remaining elements to add.

    returns

    A new map with the new bindings added to this map.

    Definition Classes
    Config → ListMap → MapLike → MapLike
  4. def +[B >: String](kv: (String, B)): Config

    Gets a new configuration based on this one with another value added or replaced.

    Gets a new configuration based on this one with another value added or replaced.

    Definition Classes
    Config → ListMap → Map → MapLike → MapLike → GenMapLike
  5. def ++[B >: String](xs: GenTraversableOnce[(String, B)]): Config

    Adds a number of elements provided by a traversable object and returns a new collection with the added elements.

    Adds a number of elements provided by a traversable object and returns a new collection with the added elements.

    xs

    the traversable object consisting of key-value pairs.

    returns

    a new immutable map with the bindings of this map and those from xs.

    Definition Classes
    Config → ListMap → MapLike → MapLike
  6. def ++[B >: (String, String), That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[ListMap[String, String], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  7. def ++:[B >: (String, String), That](that: Traversable[B])(implicit bf: CanBuildFrom[ListMap[String, String], B, That]): That

    Definition Classes
    TraversableLike
  8. def ++:[B >: (String, String), That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[ListMap[String, String], B, That]): That

    Definition Classes
    TraversableLike
  9. def -(key: String): Config

    Gets a new configuration based on this one with a value removed.

    Gets a new configuration based on this one with a value removed.

    Definition Classes
    Config → ListMap → MapLike → Subtractable → GenMapLike
  10. def -(elem1: String, elem2: String, elems: String*): ListMap[String, String]

    Definition Classes
    Subtractable
  11. def --(xs: GenTraversableOnce[String]): Config

    Gets a new configuration based on this one with removal of all the keys given in another collection.

    Gets a new configuration based on this one with removal of all the keys given in another collection.

    Definition Classes
    Config → Subtractable
  12. def /:[B](z: B)(op: (B, (String, String)) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  13. def :\[B](z: B)(op: ((String, String), B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  14. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def ?:(file: File): Config

    'Overrides': a right-associative form of overriddenBy.

    'Overrides': a right-associative form of overriddenBy.

    file

    the source for the new instance

    returns

    the new instance composed from other with this as fallback.

  16. def ?:(source: ConfigSourceJ): Config

    'Overrides': a right-associative form of overriddenBy.

    'Overrides': a right-associative form of overriddenBy.

    source

    the source for the new instance

    returns

    the new instance composed from other with this as fallback.

  17. def ?:(parser: Parser): Config

    'Overrides': a right-associative form of overriddenBy.

    'Overrides': a right-associative form of overriddenBy.

    parser

    the source for the new instance

    returns

    the new instance composed from other with this as fallback.

  18. def ?:(other: ListMap[String, String]): Config

    'Overrides': a right-associative form of overriddenBy.

    'Overrides': a right-associative form of overriddenBy.

    other

    the source for the new instance. Note that this could be a Config.

    returns

    the new instance composed from other with this as fallback.

  19. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Definition Classes
    MapLike → TraversableOnce
  20. def addString(b: StringBuilder): StringBuilder

    Definition Classes
    TraversableOnce
  21. def addString(b: StringBuilder, sep: String): StringBuilder

    Definition Classes
    TraversableOnce
  22. def aggregate[B](z: ⇒ B)(seqop: (B, (String, String)) ⇒ B, combop: (B, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  23. def andThen[C](k: (String) ⇒ C): PartialFunction[String, C]

    Definition Classes
    PartialFunction → Function1
  24. def apply(key: String): String

    Retrieves the value which is associated with the given key.

    Retrieves the value which is associated with the given key. If the value is surrounded by double-quotes, they are removed. If the key is missing, a NoSuchElementException is thrown.

    Definition Classes
    Config → MapLike → Function1 → GenMapLike
  25. def applyOrElse[A1 <: String, B1 >: String](x: A1, default: (A1) ⇒ B1): B1

    Definition Classes
    PartialFunction
  26. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  27. def canEqual(that: Any): Boolean

    Definition Classes
    IterableLike → Equals
  28. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def collect[B, That](pf: PartialFunction[(String, String), B])(implicit bf: CanBuildFrom[ListMap[String, String], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  30. def collectFirst[B](pf: PartialFunction[(String, String), B]): Option[B]

    Definition Classes
    TraversableOnce
  31. def companion: GenericCompanion[Iterable]

    Definition Classes
    Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → GenericTraversableTemplate
  32. def compose[A](g: (A) ⇒ String): (A) ⇒ String

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  33. def contains(key: String): Boolean

    Definition Classes
    MapLike → GenMapLike
  34. def copyToArray[B >: (String, String)](xs: Array[B], start: Int, len: Int): Unit

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  35. def copyToArray[B >: (String, String)](xs: Array[B]): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  36. def copyToArray[B >: (String, String)](xs: Array[B], start: Int): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  37. def copyToBuffer[B >: (String, String)](dest: Buffer[B]): Unit

    Definition Classes
    TraversableOnce
  38. def count(p: ((String, String)) ⇒ Boolean): Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  39. def default(key: String): String

    Definition Classes
    MapLike → GenMapLike
  40. def drop(n: Int): ListMap[String, String]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  41. def dropRight(n: Int): ListMap[String, String]

    Definition Classes
    IterableLike
  42. def dropWhile(p: ((String, String)) ⇒ Boolean): ListMap[String, String]

    Definition Classes
    TraversableLike → GenTraversableLike
  43. def empty: ListMap[String, Nothing]

    Gets the empty map of the same type as this map.

    Gets the empty map of the same type as this map.

    Definition Classes
    Config → ListMap → Map → Map → MapLike
  44. def endingWith(suffix: String): Config

    Filters the subset of entries ending with a given suffix, returning a new Config instance.

    Filters the subset of entries ending with a given suffix, returning a new Config instance. This allows hierarchical configurations to be loaded from a single file (or multiple files, if using the overriding feature in the constructors).

    The keys in the resulting Config are shortened by removing the suffix from them. For example, if the suffix ".yyy" is applied the entry "xxx.yyy=1", the resulting Config will contain "xxx=1". The values are unchanged from the source data.

  45. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  46. def equals(that: Any): Boolean

    Definition Classes
    GenMapLike → Equals → AnyRef → Any
  47. def exists(p: ((String, String)) ⇒ Boolean): Boolean

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  48. def filter(p: ((String, String)) ⇒ Boolean): ListMap[String, String]

    Definition Classes
    TraversableLike → GenTraversableLike
  49. def filterKeys(p: (String) ⇒ Boolean): Map[String, String]

    Definition Classes
    MapLike → MapLike → GenMapLike
  50. def filterNot(p: ((String, String)) ⇒ Boolean): ListMap[String, String]

    Definition Classes
    MapLike → TraversableLike → GenTraversableLike
  51. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  52. def find(p: ((String, String)) ⇒ Boolean): Option[(String, String)]

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  53. def flatMap[B, That](f: ((String, String)) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[ListMap[String, String], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  54. def flatten[B](implicit asTraversable: ((String, String)) ⇒ GenTraversableOnce[B]): Iterable[B]

    Definition Classes
    GenericTraversableTemplate
  55. def fold[A1 >: (String, String)](z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  56. def foldLeft[B](z: B)(op: (B, (String, String)) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  57. def foldRight[B](z: B)(op: ((String, String), B) ⇒ B): B

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  58. def forall(p: ((String, String)) ⇒ Boolean): Boolean

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  59. def foreach[U](f: ((String, String)) ⇒ U): Unit

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  60. def genericBuilder[B]: Builder[B, Iterable[B]]

    Definition Classes
    GenericTraversableTemplate
  61. def get(key: String): Option[String]

    Retrieves the optional value which is associated with the given key, or None if absent.

    Retrieves the optional value which is associated with the given key, or None if absent. If the value is surrounded by double-quotes, they are removed.

    Definition Classes
    Config → ListMap → MapLike → GenMapLike
  62. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  63. def getList(key: String): List[String]

    Gets a value containing a comma-separated list and returns the list.

    Gets a value containing a comma-separated list and returns the list. If the value is empty, the result is Nil. If the value is not empty but has no commas, the result list has one item. Double-quote marks may be used to delimit lists that themselves contain commas as part of their string.

    If the key is missing, a NoSuchElementException is thrown.

  64. def getOrElse[B1 >: String](key: String, default: ⇒ B1): B1

    Definition Classes
    MapLike → GenMapLike
  65. def groupBy[K](f: ((String, String)) ⇒ K): Map[K, ListMap[String, String]]

    Definition Classes
    TraversableLike → GenTraversableLike
  66. def grouped(size: Int): Iterator[ListMap[String, String]]

    Definition Classes
    IterableLike
  67. def hasDefiniteSize: Boolean

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  68. def hashCode(): Int

    Definition Classes
    GenMapLike → AnyRef → Any
  69. def head: (String, String)

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  70. def headOption: Option[(String, String)]

    Definition Classes
    TraversableLike → GenTraversableLike
  71. def init: ListMap[String, String]

    Definition Classes
    TraversableLike → GenTraversableLike
  72. def inits: Iterator[ListMap[String, String]]

    Definition Classes
    TraversableLike
  73. def isDefinedAt(key: String): Boolean

    Definition Classes
    MapLike → GenMapLike → PartialFunction
  74. def isEmpty: Boolean

    Tests whether the map is empty.

    Tests whether the map is empty.

    Definition Classes
    Config → MapLike → IterableLike → GenericTraversableTemplate → TraversableLike → TraversableOnce → GenTraversableOnce
  75. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  76. final def isTraversableAgain: Boolean

    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  77. def iterator: Iterator[(String, String)]

    Gets an iterator over the entries.

    Gets an iterator over the entries. Any values that happen to be surrounded by double-quotes are returned as-is, including the quote marks.

    Definition Classes
    Config → ListMap → MapLike → IterableLike → GenIterableLike
  78. def key: String

    Attributes
    protected
    Definition Classes
    ListMap
  79. def keySet: Set[String]

    Collects all keys of this map in a set.

    Collects all keys of this map in a set.

    Definition Classes
    Config → MapLike → MapLike → GenMapLike
  80. def keys: Iterable[String]

    Definition Classes
    MapLike → GenMapLike
    Annotations
    @migration
    Migration

    (Changed in version 2.8.0) keys returns Iterable[A] rather than Iterator[A].

  81. def keysIterator: Iterator[String]

    Definition Classes
    MapLike → GenMapLike
  82. def last: (String, String)

    Definition Classes
    TraversableLike → GenTraversableLike
  83. def lastOption: Option[(String, String)]

    Definition Classes
    TraversableLike → GenTraversableLike
  84. def lift: (String) ⇒ Option[String]

    Definition Classes
    PartialFunction
  85. def map[B, That](f: ((String, String)) ⇒ B)(implicit bf: CanBuildFrom[ListMap[String, String], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  86. def mapValues[C](f: (String) ⇒ C): Map[String, C]

    Definition Classes
    MapLike → MapLike → GenMapLike
  87. def max[B >: (String, String)](implicit cmp: Ordering[B]): (String, String)

    Definition Classes
    TraversableOnce → GenTraversableOnce
  88. def maxBy[B](f: ((String, String)) ⇒ B)(implicit cmp: Ordering[B]): (String, String)

    Definition Classes
    TraversableOnce → GenTraversableOnce
  89. def min[B >: (String, String)](implicit cmp: Ordering[B]): (String, String)

    Definition Classes
    TraversableOnce → GenTraversableOnce
  90. def minBy[B](f: ((String, String)) ⇒ B)(implicit cmp: Ordering[B]): (String, String)

    Definition Classes
    TraversableOnce → GenTraversableOnce
  91. def mkString: String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  92. def mkString(sep: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  93. def mkString(start: String, sep: String, end: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  94. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  95. def newBuilder: Builder[(String, String), ListMap[String, String]]

    Attributes
    protected[this]
    Definition Classes
    MapLike → TraversableLike → HasNewBuilder
  96. def next: ListMap[String, String]

    Attributes
    protected
    Definition Classes
    ListMap
  97. def nonEmpty: Boolean

    Definition Classes
    TraversableOnce → GenTraversableOnce
  98. final def notify(): Unit

    Definition Classes
    AnyRef
  99. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  100. def orElse[A1 <: String, B1 >: String](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

    Definition Classes
    PartialFunction
  101. def overriddenBy(file: File): Config

    Constructs a new instance based on source information, using this as the fallback.

    Constructs a new instance based on source information, using this as the fallback.

    file

    the source for the new instance

    returns

    the new instance constructed from file with this as fallback.

  102. def overriddenBy(source: ConfigSourceJ): Config

    Constructs a new instance based on source information, using this as the fallback.

    Constructs a new instance based on source information, using this as the fallback.

    source

    the source for the new instance

    returns

    the new instance constructed from source with this as fallback.

  103. def overriddenBy(parser: Parser): Config

    Constructs a new instance based on source information, using this as the fallback.

    Constructs a new instance based on source information, using this as the fallback.

    parser

    the source for the new instance

    returns

    the new instance constructed from parser with this as fallback.

  104. def overridenBy(other: ListMap[String, String]): Config

    Constructs a new instance based on source information, using this as the fallback.

    Constructs a new instance based on source information, using this as the fallback.

    other

    the source for the new instance. Note that this could be a Config.

    returns

    the new instance composed from other with this as fallback.

  105. def par: ParMap[String, String]

    Definition Classes
    Parallelizable
  106. def parCombiner: Combiner[(String, String), ParMap[String, String]]

    Attributes
    protected[this]
    Definition Classes
    MapLike → MapLike → TraversableLike → Parallelizable
  107. def partition(p: ((String, String)) ⇒ Boolean): (ListMap[String, String], ListMap[String, String])

    Definition Classes
    TraversableLike → GenTraversableLike
  108. def product[B >: (String, String)](implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  109. def reduce[A1 >: (String, String)](op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  110. def reduceLeft[B >: (String, String)](op: (B, (String, String)) ⇒ B): B

    Definition Classes
    TraversableOnce
  111. def reduceLeftOption[B >: (String, String)](op: (B, (String, String)) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  112. def reduceOption[A1 >: (String, String)](op: (A1, A1) ⇒ A1): Option[A1]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  113. def reduceRight[B >: (String, String)](op: ((String, String), B) ⇒ B): B

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  114. def reduceRightOption[B >: (String, String)](op: ((String, String), B) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  115. def repr: ListMap[String, String]

    Definition Classes
    TraversableLike → GenTraversableLike
  116. def reversed: List[(String, String)]

    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  117. def runWith[U](action: (String) ⇒ U): (String) ⇒ Boolean

    Definition Classes
    PartialFunction
  118. def sameElements[B >: (String, String)](that: GenIterable[B]): Boolean

    Definition Classes
    IterableLike → GenIterableLike
  119. def scan[B >: (String, String), That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[ListMap[String, String], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  120. def scanLeft[B, That](z: B)(op: (B, (String, String)) ⇒ B)(implicit bf: CanBuildFrom[ListMap[String, String], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  121. def scanRight[B, That](z: B)(op: ((String, String), B) ⇒ B)(implicit bf: CanBuildFrom[ListMap[String, String], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.

  122. def section(sectionName: String): Config

    If 'ini' file sections are used, this filters the subset of entries in a given section, returning a new Config instance.

    If 'ini' file sections are used, this filters the subset of entries in a given section, returning a new Config instance. This is the same as filtering those entries starting with a given prefix, except that an implied '.' joins the section name to its contained keys.

    The keys in the resulting Config are shortened by removing the implied prefix from them, but in the typical case of an 'ini' file, this actually means the keys will be exactly as written. For example, if a section is "[xxx]" and it contains entry "yyy=1", the resulting Config will contain "yyy=1". (Note that the parent Config would contain "xxx.yyy=1" in this case.) The values are unchanged from the source data.

  123. val seq: ListMap[String, String]

    the resolved source data.

    the resolved source data.

    Definition Classes
    Config → Map → Iterable → Traversable → Map → GenMap → GenMapLike → Iterable → GenIterable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  124. def size: Int

    The size of this map.

    The size of this map.

    Definition Classes
    Config → ListMap → GenTraversableLike → TraversableOnce → GenTraversableOnce
  125. def slice(from: Int, until: Int): ListMap[String, String]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  126. def sliding(size: Int, step: Int): Iterator[ListMap[String, String]]

    Definition Classes
    IterableLike
  127. def sliding(size: Int): Iterator[ListMap[String, String]]

    Definition Classes
    IterableLike
  128. def span(p: ((String, String)) ⇒ Boolean): (ListMap[String, String], ListMap[String, String])

    Definition Classes
    TraversableLike → GenTraversableLike
  129. def splitAt(n: Int): (ListMap[String, String], ListMap[String, String])

    Definition Classes
    TraversableLike → GenTraversableLike
  130. def startingWith(prefix: String): Config

    Filters the subset of entries starting with a given prefix, returning a new Config instance.

    Filters the subset of entries starting with a given prefix, returning a new Config instance. This allows hierarchical configurations to be loaded from a single file (or multiple files, if using the overriding feature in the constructors).

    The keys in the resulting Config are shortened by removing the prefix from them. For example, if the prefix "xxx." is applied the entry "xxx.yyy=1", the resulting Config will contain "yyy=1". The values are unchanged from the source data.

  131. def stringPrefix: String

    Definition Classes
    MapLike → TraversableLike → GenTraversableLike
  132. def sum[B >: (String, String)](implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  133. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  134. def tail: ListMap[String, String]

    Definition Classes
    TraversableLike → GenTraversableLike
  135. def tails: Iterator[ListMap[String, String]]

    Definition Classes
    TraversableLike
  136. def take(n: Int): ListMap[String, String]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  137. def takeRight(n: Int): ListMap[String, String]

    Definition Classes
    IterableLike
  138. def takeWhile(p: ((String, String)) ⇒ Boolean): ListMap[String, String]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  139. def thisCollection: Iterable[(String, String)]

    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  140. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, (String, String), Col[(String, String)]]): Col[(String, String)]

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  141. def toArray[B >: (String, String)](implicit arg0: ClassTag[B]): Array[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  142. def toBean[T <: AnyRef](bean: T): T

    Copies some or all of this config into a specified javabean.

    Copies some or all of this config into a specified javabean. This operates via reflection to use its setters to populate values using the setter names to indicate the keys into this config instance.

    The bean may itself contain nested beans that will be configured recursively provided the configuration contains the necessary subsections (see {#section(String)} and {#startingWith(String)}).

    bean

    the existing javabean

    returns

    the modified javabean

    Exceptions thrown
    IllegalArgumentException

    if the type of the data cannot be coerced to match the type of the setter.

    NoSuchElementException

    if any key is not found, i.e. the bean properties are not a proper subset of the available config keys.

    ReflectiveOperationException

    if it was not possible to modify the bean by reflection for some reason

  143. def toBean[T <: AnyRef](beanClass: Class[T]): T

    Copies some or all of this config into a new instance of a specified javabean class.

    Copies some or all of this config into a new instance of a specified javabean class. This operates via reflection to create a new bean instance. If the bean has setters, it uses them to populate values using the setter names to indicate the keys into this config instance. Otherwise, if the bean has a constructor with a suitable number of parameters, it creates a new instance using that constructor, with the order of the constructor parameters being determined by the declaration order of the bean's fields.

    The bean may itself contain nested beans that will be configured recursively provided the configuration contains the necessary subsections (see {#section(String)} and {#startingWith(String)}).

    beanClass

    the required javabean class

    returns

    the new javabean

    Exceptions thrown
    IllegalArgumentException

    if the type of the data cannot be coerced to match the type of the setter / constructor parameter.

    NoSuchElementException

    if any key is not found, i.e. the bean properties are not a proper subset of the available config keys.

    ReflectiveOperationException

    if it was not possible to create or modify the bean by reflection for some reason

  144. def toBuffer[C >: (String, String)]: Buffer[C]

    Definition Classes
    MapLike → TraversableOnce → GenTraversableOnce
  145. def toCollection(repr: ListMap[String, String]): Iterable[(String, String)]

    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  146. def toIndexedSeq: IndexedSeq[(String, String)]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  147. def toIterable: Iterable[(String, String)]

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  148. def toIterator: Iterator[(String, String)]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  149. def toList: List[(String, String)]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  150. def toMap[T, U](implicit ev: <:<[(String, String), (T, U)]): Map[T, U]

    Definition Classes
    Map → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  151. def toProperties: Properties

    Obtains a copy of this instance in the form of a Properties object.

  152. def toSeq: Seq[(String, String)]

    Definition Classes
    MapLike → TraversableOnce → GenTraversableOnce
  153. def toSet[B >: (String, String)]: Set[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  154. def toStream: Stream[(String, String)]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  155. def toString(): String

    Depicts the contents of this configuration.

    Depicts the contents of this configuration.

    Definition Classes
    Config → MapLike → Function1 → TraversableLike → AnyRef → Any
  156. def toTraversable: Traversable[(String, String)]

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  157. def toVector: Vector[(String, String)]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  158. def transform[C, That](f: (String, String) ⇒ C)(implicit bf: CanBuildFrom[ListMap[String, String], (String, C), That]): That

    Definition Classes
    MapLike
  159. def transpose[B](implicit asTraversable: ((String, String)) ⇒ GenTraversableOnce[B]): Iterable[Iterable[B]]

    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.

  160. def unzip[A1, A2](implicit asPair: ((String, String)) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])

    Definition Classes
    GenericTraversableTemplate
  161. def unzip3[A1, A2, A3](implicit asTriple: ((String, String)) ⇒ (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])

    Definition Classes
    GenericTraversableTemplate
  162. def updated[B1 >: String](key: String, value: B1): ListMap[String, B1]

    Definition Classes
    ListMap → Map → MapLike → MapLike → GenMap
  163. def value(key: String): Value

    Retrieves the value which is associated with the given key, returning it as a new uk.co.bigbeeconsultants.bconfig.Value.

    Retrieves the value which is associated with the given key, returning it as a new uk.co.bigbeeconsultants.bconfig.Value. If the value is surrounded by double-quotes, they are removed. If the key is missing, a NoSuchElementException is thrown.

  164. def value: String

    Attributes
    protected
    Definition Classes
    ListMap
  165. def values: Iterable[String]

    Definition Classes
    MapLike → GenMapLike
    Annotations
    @migration
    Migration

    (Changed in version 2.8.0) values returns Iterable[B] rather than Iterator[B].

  166. def valuesIterator: Iterator[String]

    Definition Classes
    MapLike → GenMapLike
  167. def verifyKeys(requiredKeys: Set[String], name: String = "Config"): Config

    Provides checking that the configuration keys are exactly as expected.

    Provides checking that the configuration keys are exactly as expected.

    requiredKeys

    the specification of what's required

    name

    a diagnostic name used in any error message, e.g. the name of the file (default is "Config")

    returns

    this

    Annotations
    @throws( classOf[ConfigException] )
  168. def view(from: Int, until: Int): IterableView[(String, String), ListMap[String, String]]

    Definition Classes
    IterableLike → TraversableLike
  169. def view: IterableView[(String, String), ListMap[String, String]]

    Definition Classes
    IterableLike → TraversableLike
  170. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  171. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  172. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  173. def withDefault[B1 >: String](d: (String) ⇒ B1): Map[String, B1]

    Definition Classes
    Map
  174. def withDefaultValue[B1 >: String](d: B1): Map[String, B1]

    Definition Classes
    Map
  175. def withFilter(p: ((String, String)) ⇒ Boolean): FilterMonadic[(String, String), ListMap[String, String]]

    Definition Classes
    TraversableLike → FilterMonadic
  176. def zip[A1 >: (String, String), B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[ListMap[String, String], (A1, B), That]): That

    Definition Classes
    IterableLike → GenIterableLike
  177. def zipAll[B, A1 >: (String, String), That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[ListMap[String, String], (A1, B), That]): That

    Definition Classes
    IterableLike → GenIterableLike
  178. def zipWithIndex[A1 >: (String, String), That](implicit bf: CanBuildFrom[ListMap[String, String], (A1, Int), That]): That

    Definition Classes
    IterableLike → GenIterableLike

Deprecated Value Members

  1. def overridenBy(file: File): Config

    Annotations
    @deprecated
    Deprecated

    (Since version v1.5.0) Mis-spelt

  2. def overridenBy(source: ConfigSourceJ): Config

    Annotations
    @deprecated
    Deprecated

    (Since version v1.5.0) Mis-spelt

  3. def overridenBy(parser: Parser): Config

    Annotations
    @deprecated
    Deprecated

    (Since version v1.5.0) Mis-spelt

Inherited from ListMap[String, String]

Inherited from Serializable

Inherited from Serializable

Inherited from AbstractMap[String, String]

Inherited from Map[String, String]

Inherited from MapLike[String, String, ListMap[String, String]]

Inherited from Iterable[(String, String)]

Inherited from Traversable[(String, String)]

Inherited from Immutable

Inherited from AbstractMap[String, String]

Inherited from Map[String, String]

Inherited from MapLike[String, String, ListMap[String, String]]

Inherited from Subtractable[String, ListMap[String, String]]

Inherited from PartialFunction[String, String]

Inherited from (String) ⇒ String

Inherited from GenMap[String, String]

Inherited from GenMapLike[String, String, ListMap[String, String]]

Inherited from AbstractIterable[(String, String)]

Inherited from Iterable[(String, String)]

Inherited from IterableLike[(String, String), ListMap[String, String]]

Inherited from Equals

Inherited from GenIterable[(String, String)]

Inherited from GenIterableLike[(String, String), ListMap[String, String]]

Inherited from AbstractTraversable[(String, String)]

Inherited from Traversable[(String, String)]

Inherited from GenTraversable[(String, String)]

Inherited from GenericTraversableTemplate[(String, String), Iterable]

Inherited from TraversableLike[(String, String), ListMap[String, String]]

Inherited from GenTraversableLike[(String, String), ListMap[String, String]]

Inherited from Parallelizable[(String, String), ParMap[String, String]]

Inherited from TraversableOnce[(String, String)]

Inherited from GenTraversableOnce[(String, String)]

Inherited from FilterMonadic[(String, String), ListMap[String, String]]

Inherited from HasNewBuilder[(String, String), ListMap[String, String]]

Inherited from AnyRef

Inherited from Any

Ungrouped