Package org.cryptomator.cryptofs
Class CryptoPath
- java.lang.Object
-
- org.cryptomator.cryptofs.CryptoPath
-
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
getFileSystem
public org.cryptomator.cryptofs.CryptoFileSystemImpl getFileSystem()
- Specified by:
getFileSystemin interfacePath
-
isAbsolute
public boolean isAbsolute()
- Specified by:
isAbsolutein interfacePath
-
getRoot
public CryptoPath getRoot()
-
getFileName
public CryptoPath getFileName()
- Specified by:
getFileNamein interfacePath
-
getParent
public CryptoPath getParent()
-
getNameCount
public int getNameCount()
- Specified by:
getNameCountin interfacePath
-
getName
public CryptoPath getName(int index)
-
subpath
public CryptoPath subpath(int beginIndex, int endIndex)
-
startsWith
public boolean startsWith(Path path)
- Specified by:
startsWithin interfacePath
-
startsWith
public boolean startsWith(String other)
- Specified by:
startsWithin interfacePath
-
normalize
public CryptoPath normalize()
-
resolve
public CryptoPath resolve(Path path)
-
resolve
public CryptoPath resolve(String other)
-
resolveSibling
public CryptoPath resolveSibling(Path path)
- Specified by:
resolveSiblingin interfacePath
-
resolveSibling
public CryptoPath resolveSibling(String other)
- Specified by:
resolveSiblingin interfacePath
-
relativize
public CryptoPath relativize(Path path)
- Specified by:
relativizein interfacePath
-
toAbsolutePath
public CryptoPath toAbsolutePath()
- Specified by:
toAbsolutePathin interfacePath
-
toRealPath
public CryptoPath toRealPath(LinkOption... options) throws IOException
- Specified by:
toRealPathin interfacePath- Throws:
IOException
-
register
public WatchKey register(WatchService watcher, WatchEvent.Kind<?>[] events, WatchEvent.Modifier... modifiers) throws IOException
- Specified by:
registerin interfacePath- Specified by:
registerin interfaceWatchable- Throws:
IOException
-
register
public WatchKey register(WatchService watcher, WatchEvent.Kind<?>... events) throws IOException
- Specified by:
registerin interfacePath- Specified by:
registerin interfaceWatchable- Throws:
IOException
-
compareTo
public int compareTo(Path path)
- Specified by:
compareToin interfaceComparable<Path>- Specified by:
compareToin interfacePath
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object obj)
-
-