Packages

trait ProfigPath extends ProfigPathPlatform

ProfigPath is the core of functionality in Profig. Profig extends from it for the root path and is used for looking up deeper paths as well.

Linear Supertypes
ProfigPathPlatform, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProfigPath
  2. ProfigPathPlatform
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def instance: Profig
  2. abstract def path: Path

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(): Json

    Returns a Json representation of this path.

    Returns a Json representation of this path. Works similar to get(), except will return an empty Json object if there is nothing at this level.

    returns

    Json

  5. def apply(path: Path): ProfigPath
  6. def apply(path: String*): ProfigPath

    Look up a deeper path below the current path.

    Look up a deeper path below the current path.

    returns

    ProfigPath

  7. def as[T](implicit arg0: Writer[T]): T

    Loads this path out as the defined type T.

    Loads this path out as the defined type T.

    T

    the type to represent the current path

    returns

    T

  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def asOr[T](default: => T)(implicit arg0: Writer[T]): T

    Loads this path out as the defined type T.

    Loads this path out as the defined type T. If no value is set for this path, the default will be used.

    T

    the type to represent the current path

    default

    the default to be used if this path is empty

    returns

    T

  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def exists(): Boolean

    True if this path exists in the config

  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. def get(): Option[Json]

    Returns a Json representation of this path if there is anything defined at this level.

    Returns a Json representation of this path if there is anything defined at this level.

    returns

    Option[Json]

  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def map(keys: (String, String)*): Unit

    Maps from an existing key (if found) to a new key within this path.

    Maps from an existing key (if found) to a new key within this path. This is sort of like aliasing from one key to a new key, but it will actually copy the values.

    keys

    (from, to)

  20. def merge(json: Json, type: MergeType = MergeType.Overwrite): Unit

    Merges a Json object to this path.

  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def opt[T](implicit arg0: Writer[T]): Option[T]

    Convenience functionality similar to as but returns an option if set.

    Convenience functionality similar to as but returns an option if set.

    T

    the type to represent the current path

    returns

    T

  25. def remove(): Unit

    Removes this path

  26. def remove(field: String): Unit

    Removes a field from this path.

    Removes a field from this path.

    field

    the field below this path to remove

  27. def store[T](value: T)(implicit arg0: Reader[T]): Unit

    Stores the supplied value into this path.

    Stores the supplied value into this path.

    T

    the type of value

    value

    the value to store

  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from ProfigPathPlatform

Inherited from AnyRef

Inherited from Any

Ungrouped