Packages

  • package root
    Definition Classes
    root
  • package cc
    Definition Classes
    root
  • package drx

    Scala doc for the drx conglomerate.

    Scala doc for the drx conglomerate.

    Overview

    Definition Classes
    cc
  • object Kson

    Keyed simple object notation is a much simpler and more readable key value notation without needing quotes or commas, and intended for a single line

    Keyed simple object notation is a much simpler and more readable key value notation without needing quotes or commas, and intended for a single line

    Kson (Key Separated Object Notation) is a simple format used for many of the configuration formats. The 'key' idea is to remain simple like CSV (Comma Separated Values). However, instead of using commas, use "<key>:" as the separation delimiter. Then instead of receiving a list of strings for a line of CSV you receive back key value pairs for a line of Kson. This provides for a flexible configuration and clean data encoding framework.

    Where CSV returns an table of values, Kson can return a list of key value pairs per line or can squash all the key values together for a single key value lookup.

    For example "person first:Aaron last:Radke language:scala desc:Use simple keys //with some comments" gets parsed to Map("/"" -> "person", "first" -> "Aaron", "last" -> "Radke", "language" -> "scala", "quote" -> "Use simple keys")

    Definition Classes
    drx
  • Mutable
  • Watched

class Watched extends Mutable[Watched]

Source
kson.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Watched
  2. Mutable
  3. StringMap
  4. AnyRef
  5. Any
Implicitly
  1. by richDrxAny
  2. by DrxBoundOps
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Watched()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Watched toany2stringadd[Watched] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Watched, B)
    Implicit
    This member is added by an implicit conversion from Watched toArrowAssoc[Watched] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. def /(symbol: Symbol): Scoped
    Definition Classes
    StringMap
  6. def /(name: String): Scoped
    Definition Classes
    StringMap
  7. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def apply[T](key: String)(implicit parser: Parsable[T]): T

    dangerous option, either use modadic or defaults with getOrElse

    dangerous option, either use modadic or defaults with getOrElse

    Definition Classes
    StringMap
  9. def applyIf(t: Boolean, f: (Watched) => Watched): Watched
    Implicit
    This member is added by an implicit conversion from Watched toDrxAny[Watched] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  10. def applyIf(t: (Watched) => Boolean)(f: (Watched) => Watched): Watched

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from Watched toDrxAny[Watched] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def clear: Unit

    clear the list of callbacks

    clear the list of callbacks

    Definition Classes
    Mutable
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  14. final def contains(key: String): Boolean
    Definition Classes
    StringMap
  15. def elementOf(xs: Set[Watched]): Boolean
    Implicit
    This member is added by an implicit conversion from Watched toDrxAny[Watched] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  16. def ensuring(cond: (Watched) => Boolean, msg: => Any): Watched
    Implicit
    This member is added by an implicit conversion from Watched toEnsuring[Watched] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: (Watched) => Boolean): Watched
    Implicit
    This member is added by an implicit conversion from Watched toEnsuring[Watched] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean, msg: => Any): Watched
    Implicit
    This member is added by an implicit conversion from Watched toEnsuring[Watched] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean): Watched
    Implicit
    This member is added by an implicit conversion from Watched toEnsuring[Watched] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  23. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Watched toStringFormat[Watched] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  24. def get[T](key: String)(implicit parser: Parsable[T]): Option[T]
    Definition Classes
    MutableStringMap
  25. def get[A, B, C, D](keyA: String, keyB: String, keyC: String, keyD: String)(implicit parserA: Parsable[A], parserB: Parsable[B], parserC: Parsable[C], parserD: Parsable[D]): Option[(A, B, C, D)]
    Definition Classes
    StringMap
  26. def get[A, B, C](keyA: String, keyB: String, keyC: String)(implicit parserA: Parsable[A], parserB: Parsable[B], parserC: Parsable[C]): Option[(A, B, C)]
    Definition Classes
    StringMap
  27. def get[A, B](keyA: String, keyB: String)(implicit parserA: Parsable[A], parserB: Parsable[B]): Option[(A, B)]
    Definition Classes
    StringMap
  28. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  29. final def getOrElse[T](key: String, default: T)(implicit parser: Parsable[T]): T
    Definition Classes
    StringMap
  30. def getString(key: String): Option[String]

    the key get interface to parse as you would like

    the key get interface to parse as you would like

    Definition Classes
    MutableStringMap
  31. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. def keys: List[String]

    list of the available keys (the sort order provides listing features)

    list of the available keys (the sort order provides listing features)

    Definition Classes
    MutableStringMap
  34. def kson: Kson
    Definition Classes
    Mutable
  35. def mergeWith(that: StringMap): StringMap
    Definition Classes
    StringMap
  36. def mkPath(keys: Seq[String]): String

    default as a path separator of '.' but this is configurable (over-ridable)

    default as a path separator of '.' but this is configurable (over-ridable)

    Definition Classes
    StringMap
  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. def noneIf(f: (Watched) => Boolean): Option[Watched]
    Implicit
    This member is added by an implicit conversion from Watched toDrxAny[Watched] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  39. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  41. def onUpdate(f: (Kson) => Unit): Watched

    add a function to execute on updates

    add a function to execute on updates

    Definition Classes
    Mutable
  42. def optionIf(f: (Watched) => Boolean): Option[Watched]

    optionally wrap an object

    optionally wrap an object

    Implicit
    This member is added by an implicit conversion from Watched toDrxAny[Watched] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  43. def preApply[B](f: (Watched) => B): B

    a preApply f => f(a)

    a preApply f => f(a)

    Implicit
    This member is added by an implicit conversion from Watched toDrxAny[Watched] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  44. def sideEffect(f: (Watched) => Unit): Watched

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from Watched toDrxAny[Watched] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  45. def someIf(f: (Watched) => Boolean): Option[Watched]
    Implicit
    This member is added by an implicit conversion from Watched toDrxAny[Watched] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  46. def split[T](key: String, sep: String)(implicit parser: Parsable[T]): Vector[T]

    split

    split

    Definition Classes
    MutableStringMap
  47. def split[T](key: String)(implicit parser: Parsable[T]): Vector[T]
    Definition Classes
    StringMap
  48. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  49. val thisAny: Watched
    Implicit
    This member is added by an implicit conversion from Watched toDrxAny[Watched] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  50. def till(maxArg: Watched): Bound[Watched]

    Bound construction since the Range constructor is deprecated

    Bound construction since the Range constructor is deprecated

    Implicit
    This member is added by an implicit conversion from Watched toBoundOps[Watched] performed by method DrxBoundOps in cc.drx.predef.Enrich.This conversion will take place only if an implicit value of type Boundable[Watched] is in scope.
    Definition Classes
    BoundOps
  51. def toList: List[(String, String)]
    Definition Classes
    StringMap
  52. final def toMap: Map[String, String]
    Definition Classes
    StringMap
  53. def toString(): String
    Definition Classes
    AnyRef → Any
  54. def update(file: File)(implicit ec: drx.ExecutionContext): Unit
  55. def update(k: Kson): Unit
    Definition Classes
    Mutable
  56. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  57. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  58. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def ?>(f: (Watched) => Boolean): Option[Watched]

    alias for option if

    alias for option if

    Implicit
    This member is added by an implicit conversion from Watched toDrxAny[Watched] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) to many symbols are hard to undertand

  2. def mkPath(parent: String, child: String): String
    Definition Classes
    StringMap
    Annotations
    @deprecated
    Deprecated

    (Since version dj) use mkPath with a list of Keys instead

  3. def |>[B](f: (Watched) => B): B
    Implicit
    This member is added by an implicit conversion from Watched toDrxAny[Watched] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) use preApply if you must (symbols are concise without concision)

  4. def [B](y: B): (Watched, B)
    Implicit
    This member is added by an implicit conversion from Watched toArrowAssoc[Watched] 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.

Inherited from Mutable[Watched]

Inherited from StringMap

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion richDrxAny fromWatched to DrxAny[Watched]

Inherited by implicit conversion DrxBoundOps fromWatched to BoundOps[Watched]

Inherited by implicit conversion any2stringadd fromWatched to any2stringadd[Watched]

Inherited by implicit conversion StringFormat fromWatched to StringFormat[Watched]

Inherited by implicit conversion Ensuring fromWatched to Ensuring[Watched]

Inherited by implicit conversion ArrowAssoc fromWatched to ArrowAssoc[Watched]

Ungrouped