Class SftpPath
java.lang.Object
org.apache.sshd.common.file.util.BasePath<SftpPath, SftpFileSystem>
org.apache.sshd.sftp.client.fs.SftpPath
- All Implemented Interfaces:
Comparable<Path>, Iterable<Path>, Path, Watchable, WithFileAttributes
- Direct Known Subclasses:
SftpPathImpl
A
Path on an SftpFileSystem.-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves theSftpClient.Attributesof this object, if it has any.toRealPath(LinkOption... options) Methods inherited from class 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, toUriMethods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
SftpPath
-
-
Method Details
-
getAttributes
Description copied from interface:WithFileAttributesRetrieves theSftpClient.Attributesof this object, if it has any.- Specified by:
getAttributesin interfaceWithFileAttributes- Returns:
- the
SftpClient.Attributesornullif there are none
-
toRealPath
- Specified by:
toRealPathin interfacePath- Throws:
IOException
-