| Modifier and Type | Method and Description |
|---|---|
RelativePath |
RelativePath.down() |
RelativePath |
RelativePath.down(int distance) |
static RelativePath |
RelativePath.fromPartiallyUntypedString(String path,
CanonicalPath initialPosition,
SegmentType intendedFinalType)
An overload of
Path.fromPartiallyUntypedString(String, TypeProvider) which uses the provided initial position
to figure out the possible type if is missing in the provided relative path. |
static RelativePath |
RelativePath.fromPartiallyUntypedString(String path,
Path.TypeProvider typeProvider) |
static RelativePath |
RelativePath.fromString(String path) |
RelativePath |
RelativePath.UpBuilder.get() |
RelativePath |
RelativePath.Extender.get() |
RelativePath |
CanonicalPath.IdExtractor.getResourcePath()
This creates a relative path that represents the resource hierarchy present in this path.
|
protected RelativePath |
RelativePath.Extender.newPath(int startIdx,
int endIdx,
List<Path.Segment> segments) |
RelativePath |
CanonicalPath.relativeTo(CanonicalPath root) |
RelativePath |
RelativePath.slide(int startDelta,
int endDelta)
Moves the start and end of the path by the provided distances.
|
RelativePath |
RelativePath.toRelativePath() |
abstract RelativePath |
Path.toRelativePath()
Tries to convert this path to a relative path.
|
RelativePath |
CanonicalPath.toRelativePath() |
RelativePath |
RelativePath.up() |
RelativePath |
RelativePath.up(int distance) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<RelativePath> |
RelativePath.ascendingIterator() |
Iterator<RelativePath> |
RelativePath.descendingIterator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
RelativePath.isParentOf(RelativePath other) |
Copyright © 2014–2016 Red Hat, Inc.. All rights reserved.