public class SftpSimplePatternFileListFilter extends AbstractSimplePatternFileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry>
AbstractSimplePatternFileListFilter
for SFTP.Constructor and Description |
---|
SftpSimplePatternFileListFilter(String pattern) |
Modifier and Type | Method and Description |
---|---|
protected String |
getFilename(com.jcraft.jsch.ChannelSftp.LsEntry entry)
Subclasses must implement this method to extract the file's name.
|
accept
filterFiles
public SftpSimplePatternFileListFilter(String pattern)
protected String getFilename(com.jcraft.jsch.ChannelSftp.LsEntry entry)
AbstractSimplePatternFileListFilter
getFilename
in class AbstractSimplePatternFileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry>
entry
- The file.