public class JGitFSPath extends Object implements org.uberfire.java.nio.base.FSPath
| Constructor and Description |
|---|
JGitFSPath(JGitFileSystem fs) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(org.uberfire.java.nio.file.Path path) |
boolean |
endsWith(org.uberfire.java.nio.file.Path other) |
boolean |
endsWith(String other) |
org.uberfire.java.nio.file.Path |
getFileName() |
org.uberfire.java.nio.file.FileSystem |
getFileSystem() |
org.uberfire.java.nio.file.Path |
getName(int index) |
int |
getNameCount() |
org.uberfire.java.nio.file.Path |
getParent() |
org.uberfire.java.nio.file.Path |
getRoot() |
boolean |
isAbsolute() |
Iterator<org.uberfire.java.nio.file.Path> |
iterator() |
org.uberfire.java.nio.file.Path |
normalize() |
org.uberfire.java.nio.file.WatchKey |
register(org.uberfire.java.nio.file.WatchService watcher,
org.uberfire.java.nio.file.WatchEvent.Kind<?>... events) |
org.uberfire.java.nio.file.WatchKey |
register(org.uberfire.java.nio.file.WatchService watcher,
org.uberfire.java.nio.file.WatchEvent.Kind<?>[] events,
org.uberfire.java.nio.file.WatchEvent.Modifier... modifiers) |
org.uberfire.java.nio.file.Path |
relativize(org.uberfire.java.nio.file.Path other) |
org.uberfire.java.nio.file.Path |
resolve(org.uberfire.java.nio.file.Path other) |
org.uberfire.java.nio.file.Path |
resolve(String other) |
org.uberfire.java.nio.file.Path |
resolveSibling(org.uberfire.java.nio.file.Path other) |
org.uberfire.java.nio.file.Path |
resolveSibling(String other) |
boolean |
startsWith(org.uberfire.java.nio.file.Path other) |
boolean |
startsWith(String other) |
org.uberfire.java.nio.file.Path |
subpath(int beginIndex,
int endIndex) |
org.uberfire.java.nio.file.Path |
toAbsolutePath() |
File |
toFile() |
org.uberfire.java.nio.file.Path |
toRealPath(org.uberfire.java.nio.file.LinkOption... options) |
URI |
toUri() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic JGitFSPath(JGitFileSystem fs)
public org.uberfire.java.nio.file.FileSystem getFileSystem()
getFileSystem in interface org.uberfire.java.nio.file.Pathpublic boolean isAbsolute()
isAbsolute in interface org.uberfire.java.nio.file.Pathpublic org.uberfire.java.nio.file.Path getRoot()
getRoot in interface org.uberfire.java.nio.file.Pathpublic org.uberfire.java.nio.file.Path getFileName()
getFileName in interface org.uberfire.java.nio.file.Pathpublic org.uberfire.java.nio.file.Path getParent()
getParent in interface org.uberfire.java.nio.file.Pathpublic int getNameCount()
getNameCount in interface org.uberfire.java.nio.file.Pathpublic org.uberfire.java.nio.file.Path getName(int index)
throws IllegalArgumentException
getName in interface org.uberfire.java.nio.file.PathIllegalArgumentExceptionpublic org.uberfire.java.nio.file.Path subpath(int beginIndex,
int endIndex)
throws IllegalArgumentException
subpath in interface org.uberfire.java.nio.file.PathIllegalArgumentExceptionpublic boolean startsWith(org.uberfire.java.nio.file.Path other)
startsWith in interface org.uberfire.java.nio.file.Pathpublic boolean startsWith(String other) throws org.uberfire.java.nio.file.InvalidPathException
startsWith in interface org.uberfire.java.nio.file.Pathorg.uberfire.java.nio.file.InvalidPathExceptionpublic boolean endsWith(org.uberfire.java.nio.file.Path other)
endsWith in interface org.uberfire.java.nio.file.Pathpublic boolean endsWith(String other) throws org.uberfire.java.nio.file.InvalidPathException
endsWith in interface org.uberfire.java.nio.file.Pathorg.uberfire.java.nio.file.InvalidPathExceptionpublic org.uberfire.java.nio.file.Path normalize()
normalize in interface org.uberfire.java.nio.file.Pathpublic org.uberfire.java.nio.file.Path resolve(org.uberfire.java.nio.file.Path other)
resolve in interface org.uberfire.java.nio.file.Pathpublic org.uberfire.java.nio.file.Path resolve(String other) throws org.uberfire.java.nio.file.InvalidPathException
resolve in interface org.uberfire.java.nio.file.Pathorg.uberfire.java.nio.file.InvalidPathExceptionpublic org.uberfire.java.nio.file.Path resolveSibling(org.uberfire.java.nio.file.Path other)
resolveSibling in interface org.uberfire.java.nio.file.Pathpublic org.uberfire.java.nio.file.Path resolveSibling(String other) throws org.uberfire.java.nio.file.InvalidPathException
resolveSibling in interface org.uberfire.java.nio.file.Pathorg.uberfire.java.nio.file.InvalidPathExceptionpublic org.uberfire.java.nio.file.Path relativize(org.uberfire.java.nio.file.Path other)
throws IllegalArgumentException
relativize in interface org.uberfire.java.nio.file.PathIllegalArgumentExceptionpublic URI toUri() throws org.uberfire.java.nio.IOException, SecurityException
toUri in interface org.uberfire.java.nio.file.Pathorg.uberfire.java.nio.IOExceptionSecurityExceptionpublic org.uberfire.java.nio.file.Path toAbsolutePath()
throws org.uberfire.java.nio.IOException,
SecurityException
toAbsolutePath in interface org.uberfire.java.nio.file.Pathorg.uberfire.java.nio.IOExceptionSecurityExceptionpublic org.uberfire.java.nio.file.Path toRealPath(org.uberfire.java.nio.file.LinkOption... options)
throws org.uberfire.java.nio.IOException,
SecurityException
toRealPath in interface org.uberfire.java.nio.file.Pathorg.uberfire.java.nio.IOExceptionSecurityExceptionpublic File toFile() throws UnsupportedOperationException
toFile in interface org.uberfire.java.nio.file.PathUnsupportedOperationExceptionpublic int compareTo(org.uberfire.java.nio.file.Path path)
compareTo in interface Comparable<org.uberfire.java.nio.file.Path>public Iterator<org.uberfire.java.nio.file.Path> iterator()
public org.uberfire.java.nio.file.WatchKey register(org.uberfire.java.nio.file.WatchService watcher,
org.uberfire.java.nio.file.WatchEvent.Kind<?>[] events,
org.uberfire.java.nio.file.WatchEvent.Modifier... modifiers)
throws UnsupportedOperationException,
IllegalArgumentException,
org.uberfire.java.nio.file.ClosedWatchServiceException,
org.uberfire.java.nio.IOException,
SecurityException
register in interface org.uberfire.java.nio.file.WatchableUnsupportedOperationExceptionIllegalArgumentExceptionorg.uberfire.java.nio.file.ClosedWatchServiceExceptionorg.uberfire.java.nio.IOExceptionSecurityExceptionpublic org.uberfire.java.nio.file.WatchKey register(org.uberfire.java.nio.file.WatchService watcher,
org.uberfire.java.nio.file.WatchEvent.Kind<?>... events)
throws UnsupportedOperationException,
IllegalArgumentException,
org.uberfire.java.nio.file.ClosedWatchServiceException,
org.uberfire.java.nio.IOException,
SecurityException
register in interface org.uberfire.java.nio.file.WatchableUnsupportedOperationExceptionIllegalArgumentExceptionorg.uberfire.java.nio.file.ClosedWatchServiceExceptionorg.uberfire.java.nio.IOExceptionSecurityExceptionCopyright © 2012–2017 JBoss by Red Hat. All rights reserved.