public interface Path extends Serializable
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Path other) |
boolean |
endsWith(Path other) |
boolean |
endsWith(String other) |
String |
getAdaptorName() |
Credentials |
getCredentials() |
Path |
getFileName() |
Path |
getName(int index) |
int |
getNameCount() |
Path |
getParent() |
String |
getPath() |
ImmutableTypedProperties |
getProperties() |
Path |
getRoot() |
boolean |
isAbsolute() |
boolean |
isLocal() |
Iterator<Path> |
iterator() |
Path |
normalize() |
Path |
relativize(Path other) |
Path |
resolve(Path other) |
Path |
resolve(String other) |
Path |
resolveSibling(Path other) |
Path |
resolveSibling(String other) |
boolean |
startsWith(Path other) |
boolean |
startsWith(String other) |
Path |
subpath(int beginIndex,
int endIndex) |
Path |
toAbsolutePath()
Note: this will most likely only work for local files
|
URI |
toUri() |
boolean isAbsolute()
Path getRoot()
Path getFileName()
Path getParent()
int getNameCount()
Path getName(int index)
Path subpath(int beginIndex, int endIndex)
boolean startsWith(Path other)
boolean startsWith(String other)
boolean endsWith(Path other)
boolean endsWith(String other)
Path normalize()
Path resolve(String other) throws OctopusException
OctopusException
Path resolveSibling(String other) throws OctopusException
OctopusException
Path relativize(Path other) throws OctopusException
OctopusException
URI toUri()
Path toAbsolutePath() throws OctopusException
OctopusException
int compareTo(Path other)
String getAdaptorName()
boolean isLocal()
String getPath()
ImmutableTypedProperties getProperties()
Credentials getCredentials()