| Constructor and Description |
|---|
JGitFSPath(JGitFileSystem fs) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Path path) |
boolean |
endsWith(Path other) |
boolean |
endsWith(String other) |
Path |
getFileName() |
FileSystem |
getFileSystem() |
Path |
getName(int index) |
int |
getNameCount() |
Path |
getParent() |
Path |
getRoot() |
boolean |
isAbsolute() |
Iterator<Path> |
iterator() |
Path |
normalize() |
WatchKey |
register(WatchService watcher,
WatchEvent.Kind<?>... events) |
WatchKey |
register(WatchService watcher,
WatchEvent.Kind<?>[] events,
WatchEvent.Modifier... modifiers) |
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() |
File |
toFile() |
Path |
toRealPath(LinkOption... options) |
URI |
toUri() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic JGitFSPath(JGitFileSystem fs)
public FileSystem getFileSystem()
getFileSystem in interface Pathpublic boolean isAbsolute()
isAbsolute in interface Pathpublic Path getFileName()
getFileName in interface Pathpublic int getNameCount()
getNameCount in interface Pathpublic Path getName(int index) throws IllegalArgumentException
getName in interface PathIllegalArgumentExceptionpublic Path subpath(int beginIndex, int endIndex) throws IllegalArgumentException
subpath in interface PathIllegalArgumentExceptionpublic boolean startsWith(Path other)
startsWith in interface Pathpublic boolean startsWith(String other) throws InvalidPathException
startsWith in interface PathInvalidPathExceptionpublic boolean endsWith(String other) throws InvalidPathException
endsWith in interface PathInvalidPathExceptionpublic Path resolve(String other) throws InvalidPathException
resolve in interface PathInvalidPathExceptionpublic Path resolveSibling(Path other)
resolveSibling in interface Pathpublic Path resolveSibling(String other) throws InvalidPathException
resolveSibling in interface PathInvalidPathExceptionpublic Path relativize(Path other) throws IllegalArgumentException
relativize in interface PathIllegalArgumentExceptionpublic URI toUri() throws IOException, SecurityException
toUri in interface PathIOExceptionSecurityExceptionpublic Path toAbsolutePath() throws IOException, SecurityException
toAbsolutePath in interface PathIOExceptionSecurityExceptionpublic Path toRealPath(LinkOption... options) throws IOException, SecurityException
toRealPath in interface PathIOExceptionSecurityExceptionpublic File toFile() throws UnsupportedOperationException
toFile in interface PathUnsupportedOperationExceptionpublic int compareTo(Path path)
compareTo in interface Comparable<Path>public WatchKey register(WatchService watcher, WatchEvent.Kind<?>[] events, WatchEvent.Modifier... modifiers) throws UnsupportedOperationException, IllegalArgumentException, ClosedWatchServiceException, IOException, SecurityException
register in interface WatchableUnsupportedOperationExceptionIllegalArgumentExceptionClosedWatchServiceExceptionIOExceptionSecurityExceptionpublic WatchKey register(WatchService watcher, WatchEvent.Kind<?>... events) throws UnsupportedOperationException, IllegalArgumentException, ClosedWatchServiceException, IOException, SecurityException
register in interface WatchableUnsupportedOperationExceptionIllegalArgumentExceptionClosedWatchServiceExceptionIOExceptionSecurityExceptionCopyright © 2012–2021 JBoss by Red Hat. All rights reserved.