Package org.apache.sshd.sftp.client.fs
Class SftpClientDirectoryScanner.ScanDirEntry
- java.lang.Object
-
- org.apache.sshd.sftp.client.SftpClient.DirEntry
-
- org.apache.sshd.sftp.client.fs.SftpClientDirectoryScanner.ScanDirEntry
-
- Enclosing class:
- SftpClientDirectoryScanner
public static class SftpClientDirectoryScanner.ScanDirEntry extends SftpClient.DirEntry
The result of a scan
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
fullPath
private java.lang.String
relativePath
-
Fields inherited from class org.apache.sshd.sftp.client.SftpClient.DirEntry
BY_CASE_INSENSITIVE_FILENAME, BY_CASE_SENSITIVE_FILENAME
-
-
Constructor Summary
Constructors Constructor Description ScanDirEntry(java.lang.String fullPath, java.lang.String relativePath, SftpClient.DirEntry dirEntry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFullPath()
java.lang.String
getRelativePath()
java.lang.String
toString()
-
Methods inherited from class org.apache.sshd.sftp.client.SftpClient.DirEntry
getAttributes, getFilename, getLongFilename
-
-
-
-
Constructor Detail
-
ScanDirEntry
public ScanDirEntry(java.lang.String fullPath, java.lang.String relativePath, SftpClient.DirEntry dirEntry)
-
-
Method Detail
-
getFullPath
public java.lang.String getFullPath()
- Returns:
- The full path represented by this entry
-
getRelativePath
public java.lang.String getRelativePath()
- Returns:
- The relative path from the base directory used for scanning
-
toString
public java.lang.String toString()
- Overrides:
toString
in classSftpClient.DirEntry
-
-