public class ForwardPath extends Object
Constructor and Description |
---|
ForwardPath(Path path) |
Modifier and Type | Method and Description |
---|---|
Path |
getFinalPath()
Get the complete path in this chain, typically for error messages or debugging
|
ForwardPath |
getNext() |
Path |
getPath() |
static ForwardPath |
of(Path path)
Recursive method which reverses the path into a ForwardPath.
|
String |
toString() |
public ForwardPath(Path path)
public static ForwardPath of(Path path)
path
- cannot be the root path.public Path getPath()
public ForwardPath getNext()
public Path getFinalPath()
Copyright © 2016. All rights reserved.