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.
|
accept
filterFiles
public SftpSimplePatternFileListFilter(java.lang.String pattern)
protected java.lang.String getFilename(com.jcraft.jsch.ChannelSftp.LsEntry entry)
AbstractSimplePatternFileListFilter
getFilename
in class AbstractSimplePatternFileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry>