final case class Segment(head: String, tail: SlashOrEmpty) extends Path with Product with Serializable
- Source
- Uri.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Segment
- Serializable
- Serializable
- Product
- Equals
- Path
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Segment(head: String, tail: SlashOrEmpty)
Value Members
-
def
+(pathString: String): Path
- Definition Classes
- Path
- def ++(suffix: Path): Path
-
def
/(segment: String): Path
- Definition Classes
- Path
- def ::(segment: String): Path
-
def
::(c: Char): Path
- Definition Classes
- Path
-
def
?/(segment: String): Path
- Definition Classes
- Path
- def charCount: Int
- def dropChars(count: Int): Path
-
final
def
endsWith(suffix: String, ignoreTrailingSlash: Boolean = false): Boolean
- Definition Classes
- Path
-
def
endsWithSlash: Boolean
- Definition Classes
- Path
- val head: String
- def isEmpty: Boolean
- def length: Int
-
def
reverse: Path
- Definition Classes
- Path
- def reverseAndPrependTo(prefix: Path): Path
- def startsWith(that: Path): Boolean
- def startsWithSegment: Boolean
- def startsWithSlash: Boolean
- val tail: SlashOrEmpty
-
def
toString(): String
- Definition Classes
- Path → AnyRef → Any