org.kie.commons.java.nio.fs.jgit
Class JGitFSPath
java.lang.Object
org.kie.commons.java.nio.fs.jgit.JGitFSPath
- All Implemented Interfaces:
- Comparable<org.kie.commons.java.nio.file.Path>, Iterable<org.kie.commons.java.nio.file.Path>, org.kie.commons.java.nio.file.Path, org.kie.commons.java.nio.file.Watchable
public class JGitFSPath
- extends Object
- implements org.kie.commons.java.nio.file.Path
|
Method Summary |
int |
compareTo(org.kie.commons.java.nio.file.Path path)
|
boolean |
endsWith(org.kie.commons.java.nio.file.Path other)
|
boolean |
endsWith(String other)
|
org.kie.commons.java.nio.file.Path |
getFileName()
|
org.kie.commons.java.nio.file.FileSystem |
getFileSystem()
|
org.kie.commons.java.nio.file.Path |
getName(int index)
|
int |
getNameCount()
|
org.kie.commons.java.nio.file.Path |
getParent()
|
org.kie.commons.java.nio.file.Path |
getRoot()
|
boolean |
isAbsolute()
|
Iterator<org.kie.commons.java.nio.file.Path> |
iterator()
|
org.kie.commons.java.nio.file.Path |
normalize()
|
org.kie.commons.java.nio.file.WatchKey |
register(org.kie.commons.java.nio.file.WatchService watcher,
org.kie.commons.java.nio.file.WatchEvent.Kind<?>... events)
|
org.kie.commons.java.nio.file.WatchKey |
register(org.kie.commons.java.nio.file.WatchService watcher,
org.kie.commons.java.nio.file.WatchEvent.Kind<?>[] events,
org.kie.commons.java.nio.file.WatchEvent.Modifier... modifiers)
|
org.kie.commons.java.nio.file.Path |
relativize(org.kie.commons.java.nio.file.Path other)
|
org.kie.commons.java.nio.file.Path |
resolve(org.kie.commons.java.nio.file.Path other)
|
org.kie.commons.java.nio.file.Path |
resolve(String other)
|
org.kie.commons.java.nio.file.Path |
resolveSibling(org.kie.commons.java.nio.file.Path other)
|
org.kie.commons.java.nio.file.Path |
resolveSibling(String other)
|
boolean |
startsWith(org.kie.commons.java.nio.file.Path other)
|
boolean |
startsWith(String other)
|
org.kie.commons.java.nio.file.Path |
subpath(int beginIndex,
int endIndex)
|
org.kie.commons.java.nio.file.Path |
toAbsolutePath()
|
File |
toFile()
|
org.kie.commons.java.nio.file.Path |
toRealPath(org.kie.commons.java.nio.file.LinkOption... options)
|
URI |
toUri()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JGitFSPath
public JGitFSPath(JGitFileSystem fs)
getFileSystem
public org.kie.commons.java.nio.file.FileSystem getFileSystem()
- Specified by:
getFileSystem in interface org.kie.commons.java.nio.file.Path
isAbsolute
public boolean isAbsolute()
- Specified by:
isAbsolute in interface org.kie.commons.java.nio.file.Path
getRoot
public org.kie.commons.java.nio.file.Path getRoot()
- Specified by:
getRoot in interface org.kie.commons.java.nio.file.Path
getFileName
public org.kie.commons.java.nio.file.Path getFileName()
- Specified by:
getFileName in interface org.kie.commons.java.nio.file.Path
getParent
public org.kie.commons.java.nio.file.Path getParent()
- Specified by:
getParent in interface org.kie.commons.java.nio.file.Path
getNameCount
public int getNameCount()
- Specified by:
getNameCount in interface org.kie.commons.java.nio.file.Path
getName
public org.kie.commons.java.nio.file.Path getName(int index)
throws IllegalArgumentException
- Specified by:
getName in interface org.kie.commons.java.nio.file.Path
- Throws:
IllegalArgumentException
subpath
public org.kie.commons.java.nio.file.Path subpath(int beginIndex,
int endIndex)
throws IllegalArgumentException
- Specified by:
subpath in interface org.kie.commons.java.nio.file.Path
- Throws:
IllegalArgumentException
startsWith
public boolean startsWith(org.kie.commons.java.nio.file.Path other)
- Specified by:
startsWith in interface org.kie.commons.java.nio.file.Path
startsWith
public boolean startsWith(String other)
throws org.kie.commons.java.nio.file.InvalidPathException
- Specified by:
startsWith in interface org.kie.commons.java.nio.file.Path
- Throws:
org.kie.commons.java.nio.file.InvalidPathException
endsWith
public boolean endsWith(org.kie.commons.java.nio.file.Path other)
- Specified by:
endsWith in interface org.kie.commons.java.nio.file.Path
endsWith
public boolean endsWith(String other)
throws org.kie.commons.java.nio.file.InvalidPathException
- Specified by:
endsWith in interface org.kie.commons.java.nio.file.Path
- Throws:
org.kie.commons.java.nio.file.InvalidPathException
normalize
public org.kie.commons.java.nio.file.Path normalize()
- Specified by:
normalize in interface org.kie.commons.java.nio.file.Path
resolve
public org.kie.commons.java.nio.file.Path resolve(org.kie.commons.java.nio.file.Path other)
- Specified by:
resolve in interface org.kie.commons.java.nio.file.Path
resolve
public org.kie.commons.java.nio.file.Path resolve(String other)
throws org.kie.commons.java.nio.file.InvalidPathException
- Specified by:
resolve in interface org.kie.commons.java.nio.file.Path
- Throws:
org.kie.commons.java.nio.file.InvalidPathException
resolveSibling
public org.kie.commons.java.nio.file.Path resolveSibling(org.kie.commons.java.nio.file.Path other)
- Specified by:
resolveSibling in interface org.kie.commons.java.nio.file.Path
resolveSibling
public org.kie.commons.java.nio.file.Path resolveSibling(String other)
throws org.kie.commons.java.nio.file.InvalidPathException
- Specified by:
resolveSibling in interface org.kie.commons.java.nio.file.Path
- Throws:
org.kie.commons.java.nio.file.InvalidPathException
relativize
public org.kie.commons.java.nio.file.Path relativize(org.kie.commons.java.nio.file.Path other)
throws IllegalArgumentException
- Specified by:
relativize in interface org.kie.commons.java.nio.file.Path
- Throws:
IllegalArgumentException
toUri
public URI toUri()
throws org.kie.commons.java.nio.IOException,
SecurityException
- Specified by:
toUri in interface org.kie.commons.java.nio.file.Path
- Throws:
org.kie.commons.java.nio.IOException
SecurityException
toAbsolutePath
public org.kie.commons.java.nio.file.Path toAbsolutePath()
throws org.kie.commons.java.nio.IOException,
SecurityException
- Specified by:
toAbsolutePath in interface org.kie.commons.java.nio.file.Path
- Throws:
org.kie.commons.java.nio.IOException
SecurityException
toRealPath
public org.kie.commons.java.nio.file.Path toRealPath(org.kie.commons.java.nio.file.LinkOption... options)
throws org.kie.commons.java.nio.IOException,
SecurityException
- Specified by:
toRealPath in interface org.kie.commons.java.nio.file.Path
- Throws:
org.kie.commons.java.nio.IOException
SecurityException
toFile
public File toFile()
throws UnsupportedOperationException
- Specified by:
toFile in interface org.kie.commons.java.nio.file.Path
- Throws:
UnsupportedOperationException
compareTo
public int compareTo(org.kie.commons.java.nio.file.Path path)
- Specified by:
compareTo in interface Comparable<org.kie.commons.java.nio.file.Path>
iterator
public Iterator<org.kie.commons.java.nio.file.Path> iterator()
- Specified by:
iterator in interface Iterable<org.kie.commons.java.nio.file.Path>
register
public org.kie.commons.java.nio.file.WatchKey register(org.kie.commons.java.nio.file.WatchService watcher,
org.kie.commons.java.nio.file.WatchEvent.Kind<?>[] events,
org.kie.commons.java.nio.file.WatchEvent.Modifier... modifiers)
throws UnsupportedOperationException,
IllegalArgumentException,
org.kie.commons.java.nio.file.ClosedWatchServiceException,
org.kie.commons.java.nio.IOException,
SecurityException
- Specified by:
register in interface org.kie.commons.java.nio.file.Watchable
- Throws:
UnsupportedOperationException
IllegalArgumentException
org.kie.commons.java.nio.file.ClosedWatchServiceException
org.kie.commons.java.nio.IOException
SecurityException
register
public org.kie.commons.java.nio.file.WatchKey register(org.kie.commons.java.nio.file.WatchService watcher,
org.kie.commons.java.nio.file.WatchEvent.Kind<?>... events)
throws UnsupportedOperationException,
IllegalArgumentException,
org.kie.commons.java.nio.file.ClosedWatchServiceException,
org.kie.commons.java.nio.IOException,
SecurityException
- Specified by:
register in interface org.kie.commons.java.nio.file.Watchable
- Throws:
UnsupportedOperationException
IllegalArgumentException
org.kie.commons.java.nio.file.ClosedWatchServiceException
org.kie.commons.java.nio.IOException
SecurityException
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.