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
- All Implemented Interfaces:
Comparable<Path>,Iterable<Path>,Path,Watchable,WithFileAttributes
- Direct Known Subclasses:
SftpPathImpl
public class SftpPath
extends org.apache.sshd.common.file.util.BasePath<SftpPath,SftpFileSystem>
implements WithFileAttributes
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 theSftpClient.Attributesof this object, 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, toUriMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.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
-