Packages

sealed abstract class SlashOrEmpty extends Path

Source
Uri.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SlashOrEmpty
  2. Path
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract type Head
    Definition Classes
    Path

Abstract Value Members

  1. abstract def ++(suffix: Path): Path
    Definition Classes
    Path
  2. abstract def ::(segment: String): Path
    Definition Classes
    Path
  3. abstract def charCount: Int
    Definition Classes
    Path
  4. abstract def dropChars(count: Int): Path
    Definition Classes
    Path
  5. abstract def head: Head
    Definition Classes
    Path
  6. abstract def isEmpty: Boolean
    Definition Classes
    Path
  7. abstract def length: Int
    Definition Classes
    Path
  8. abstract def reverseAndPrependTo(prefix: Path): Path
    Definition Classes
    Path
  9. abstract def startsWith(that: Path): Boolean
    Definition Classes
    Path
  10. abstract def startsWithSlash: Boolean
    Definition Classes
    Path
  11. abstract def tail: Path
    Definition Classes
    Path

Concrete Value Members

  1. def +(pathString: String): Path
    Definition Classes
    Path
  2. def /(segment: String): Path
    Definition Classes
    Path
  3. def ::(c: Char): Path
    Definition Classes
    Path
  4. def ?/(segment: String): Path

    Appends two path segments while avoiding a double slash between them Example: - Path("abc") ?/ "def" returns Path("abc/def") - Path("abc/") ?/ "def" returns Path("abc/def")

    Appends two path segments while avoiding a double slash between them Example: - Path("abc") ?/ "def" returns Path("abc/def") - Path("abc/") ?/ "def" returns Path("abc/def")

    segment

    The path segment to be appended

    returns

    The final concatenated path segment

    Definition Classes
    Path
  5. final def endsWith(suffix: String, ignoreTrailingSlash: Boolean = false): Boolean
    Definition Classes
    Path
  6. def endsWithSlash: Boolean
    Definition Classes
    Path
  7. def reverse: Path
    Definition Classes
    Path
  8. def startsWithSegment: Boolean
    Definition Classes
    SlashOrEmptyPath
  9. def toString(): String
    Definition Classes
    Path → AnyRef → Any