- asString
constructs the string representation of the path.
- fromString
- getSegment
- getSubPath
gives an URLPath, which contains all elements in the given range.
- isEmpty
checks, if this URLPath have no elements
- removeTrailingSlash
gives a URLPath without a trailing slash
- <init>
creates a new UrlPath from an array of elements
- append
Appends the given url path to this path.
- getSegmentOrEmptyString
- getSegments
gives an array of all elements
- hasTrailingSlash
checks, if this URLPath ends with a slash
- isRoot
if this path represents a path root (single slash);