Packages

trait ProfigPath extends AnyRef

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
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProfigPath
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def instance: Profig
  2. abstract def path: List[String]

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: String*): ProfigPath

    Look up a deeper path below the current path.

    Look up a deeper path below the current path.

    returns

    ProfigPath

  6. macro def as[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

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. def combine(json: Json, defaults: Boolean): Unit

    Combines a Json instance at this path.

  10. def combine(properties: Properties, defaults: Boolean): Unit

    Combines a properties object at this path.

  11. def combine(args: Seq[String], defaults: Boolean): Unit

    Combines a sequence of args at this path.

  12. def combine(string: String, type: FileType, defaults: Boolean): Unit

    Combines a string of content auto-detected to JSON.

  13. def defaults(properties: Properties): Unit

    Loads defaults from this Properties object at this path.

  14. def defaults(json: Json): Unit

    Loads defaults from this Json object at this path.

  15. def defaults(string: String, type: FileType): Unit

    Loads defaults for a string of the specified type.

  16. def defaults(args: Seq[String]): Unit

    Loads defaults for a sequence of args.

    Loads defaults for a sequence of args. This is primarily useful for loading command-line arguments.

  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  19. def exists(): Boolean

    True if this path exists in the config

  20. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. 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]

  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def merge(properties: Properties): Unit

    Merges a Properties object to this path.

  26. def merge(json: Json): Unit

    Merges a Json object to this path.

  27. def merge(string: String, type: FileType): Unit

    Merges a string of content from the specified type.

  28. def merge(args: Seq[String]): Unit

    Merges a sequence of args.

    Merges a sequence of args. This is primarily useful for merging command-line arguments.

  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. def remove(): Unit
  33. 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

  34. macro def store[T](value: 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

  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped