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
public class SftpPath extends org.apache.sshd.common.file.util.BasePath<SftpPath,SftpFileSystem>
APathon anSftpFileSystem.
-
-
Constructor Summary
Constructors Constructor Description SftpPath(SftpFileSystem fileSystem, String root, List<String> names)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SftpClient.AttributesgetAttributes()Retrieves the cachedSftpClient.Attributesof thisSftpPath, if it has any.SftpPathtoRealPath(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 Detail
-
SftpPath
public SftpPath(SftpFileSystem fileSystem, String root, List<String> names)
-
-
Method Detail
-
getAttributes
public SftpClient.Attributes getAttributes()
Retrieves the cachedSftpClient.Attributesof thisSftpPath, if it has any.- Returns:
- the cached
SftpClient.Attributesornullif there are none cached
-
toRealPath
public SftpPath toRealPath(LinkOption... options) throws IOException
- Throws:
IOException
-
-