| Modifier and Type | Method and Description |
|---|---|
CanonicalPath |
RelativePath.applyTo(CanonicalPath path)
Applies this relative path on the provided canonical path.
|
CanonicalPath |
CanonicalPath.down() |
CanonicalPath |
CanonicalPath.down(int distance) |
static CanonicalPath |
CanonicalPath.fromPartiallyUntypedString(String path,
CanonicalPath initialPosition,
Class<?> 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 CanonicalPath |
CanonicalPath.fromPartiallyUntypedString(String path,
CanonicalPath initialPosition,
SegmentType intendedFinalType) |
static CanonicalPath |
CanonicalPath.fromPartiallyUntypedString(String path,
Path.TypeProvider typeProvider) |
static CanonicalPath |
CanonicalPath.fromString(String path)
Creates a new path instance from the "serialized" slash-separated representation.
|
CanonicalPath |
CanonicalPath.Extender.get() |
CanonicalPath |
CanonicalPath.getLeaf()
If this path was created by going
up from another path, then this returns the bottom-most path
in such chain. |
CanonicalPath |
CanonicalPath.getRoot() |
protected CanonicalPath |
CanonicalPath.newInstance(int startIdx,
int endIdx,
List<Path.Segment> segments) |
protected CanonicalPath |
CanonicalPath.Extender.newPath(int startIdx,
int endIdx,
List<Path.Segment> segments) |
CanonicalPath |
RelativePath.toCanonicalPath()
Tries to convert this relative path to a canonical path.
|
abstract CanonicalPath |
Path.toCanonicalPath()
Tries to convert this path to a canonical path.
|
CanonicalPath |
CanonicalPath.toCanonicalPath() |
CanonicalPath |
CanonicalPath.up() |
CanonicalPath |
CanonicalPath.up(int distance) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<CanonicalPath> |
CanonicalPath.ascendingIterator() |
Iterator<CanonicalPath> |
CanonicalPath.descendingIterator() |
Iterator<CanonicalPath> |
CanonicalPath.iterator() |
| Modifier and Type | Method and Description |
|---|---|
CanonicalPath |
RelativePath.applyTo(CanonicalPath path)
Applies this relative path on the provided canonical path.
|
static Path |
Path.fromPartiallyUntypedString(String path,
CanonicalPath canonicalPathsOrigin,
CanonicalPath relativePathsOrigin,
SegmentType intendedFinalType)
This is mostly meant as a helper to REST API.
|
static CanonicalPath |
CanonicalPath.fromPartiallyUntypedString(String path,
CanonicalPath initialPosition,
Class<?> 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,
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 CanonicalPath |
CanonicalPath.fromPartiallyUntypedString(String path,
CanonicalPath initialPosition,
SegmentType intendedFinalType) |
boolean |
CanonicalPath.isParentOf(CanonicalPath other) |
RelativePath |
CanonicalPath.relativeTo(CanonicalPath root) |
Copyright © 2014–2016 Red Hat, Inc.. All rights reserved.