Package org.apache.sshd.sftp.client.fs
Class SftpPath
java.lang.Object
org.apache.sshd.common.file.util.BasePath<SftpPath,SftpFileSystem>
org.apache.sshd.sftp.client.fs.SftpPath
- Direct Known Subclasses:
SftpPathImpl
A
Path
on an SftpFileSystem
.-
Field Summary
Fields inherited from class org.apache.sshd.common.file.util.BasePath
names, root
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the cachedSftpClient.Attributes
of thisSftpPath
, if it has any.toRealPath
(LinkOption... options) Methods inherited from class org.apache.sshd.common.file.util.BasePath
asString, asT, calculatedHashCode, checkPath, compare, compareTo, create, create, create, endsWith, endsWith, endsWith, equals, getFileName, getFileSystem, getName, getNameCount, getParent, getRoot, hashCode, isAbsolute, isNormal, iterator, normalize, register, register, relativize, resolve, resolve, resolveSibling, resolveSibling, startsWith, startsWith, startsWith, subpath, toAbsolutePath, toFile, toString, toUri
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
SftpPath
-
-
Method Details
-
getAttributes
Retrieves the cachedSftpClient.Attributes
of thisSftpPath
, if it has any.- Returns:
- the cached
SftpClient.Attributes
ornull
if there are none cached
-
toRealPath
- Throws:
IOException
-