public class SftpSimplePatternFileListFilter extends AbstractSimplePatternFileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry>
AbstractSimplePatternFileListFilter for SFTP.| Constructor and Description |
|---|
SftpSimplePatternFileListFilter(java.lang.String pattern) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getFilename(com.jcraft.jsch.ChannelSftp.LsEntry entry)
Subclasses must implement this method to extract the file's name.
|
protected boolean |
isDirectory(com.jcraft.jsch.ChannelSftp.LsEntry file)
Subclasses must implement this method to indicate whether the file
is a directory or not.
|
acceptalwaysAccept, setAlwaysAcceptDirectoriesfilterFilespublic SftpSimplePatternFileListFilter(java.lang.String pattern)
protected java.lang.String getFilename(com.jcraft.jsch.ChannelSftp.LsEntry entry)
AbstractSimplePatternFileListFiltergetFilename in class AbstractSimplePatternFileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry>entry - The file.protected boolean isDirectory(com.jcraft.jsch.ChannelSftp.LsEntry file)
AbstractDirectoryAwareFileListFilterisDirectory in class AbstractDirectoryAwareFileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry>file - the file.