Packages

final case class Path extends Product with Serializable

Self Type
Path
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Path
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def ++(other: Path): Path

    Combines two paths together to create a new one.

    Combines two paths together to create a new one. In the process it will remove all extra slashes from the final path, leaving only the ones that are at the ends.

  4. def /(name: String): Path

    Appends a segment at the end of the path.

    Appends a segment at the end of the path. To append a trailing slash use an empty string.

  5. def /(name: Extractor): Path
  6. def /:(name: String): Path

    Prepends the path with the provided segment.

    Prepends the path with the provided segment. To prepend a leading slash use an empty string.

  7. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def addTrailingSlash: Path

    Appends a trailing slash to the path

  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  11. def concat(other: Path): Path

    Named alias to ++ operator

  12. def drop(n: Int): Path

    Drops segments from the beginning of the path.

  13. def dropLast(n: Int): Path

    Drops segments from the end of the path.

  14. def dropTrailingSlash: Path

    Drops the trailing slash if available

  15. def encode: String

    Encodes the current path into a valid string

  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def initial: Path

    Returns a new path that contains only the inital segments, leaving the last segment.

  19. def isEmpty: Boolean

    Checks if the path is equal to ""

  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def isRoot: Boolean

    Checks if the path is equal to "/"

  22. def last: Option[String]

    Returns a the last element of the path.

    Returns a the last element of the path. If the path contains a trailing slash, None will be returned.

  23. def lastSegment: Option[Segment]

    Returns the last segment of the path

  24. def leadingSlash: Boolean

    Checks if the path contains a leading slash.

  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. def nonEmpty: Boolean

    Checks if the path is not equal to ""

  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. def productElementNames: Iterator[String]
    Definition Classes
    Product
  30. def reverse: Path

    Creates a new path from this one with it's segments reversed.

  31. val segments: Vector[Segment]
  32. def startsWith(other: Path): Boolean

    Checks if the path starts with the provided path

  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. def take(n: Int): Path

    Creates a new path with the provided n initial segments.

  35. def textSegments: Vector[String]
  36. def toString(): String
    Definition Classes
    Path → AnyRef → Any
  37. def trailingSlash: Boolean

    Checks if the path contains a trailing slash.

  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped