public class FtpRegexPatternFileListFilter extends AbstractRegexPatternFileListFilter<org.apache.commons.net.ftp.FTPFile>
AbstractRegexPatternFileListFilter
for FTP.Constructor and Description |
---|
FtpRegexPatternFileListFilter(java.util.regex.Pattern pattern) |
FtpRegexPatternFileListFilter(java.lang.String pattern) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getFilename(org.apache.commons.net.ftp.FTPFile file)
Subclasses must implement this method to extract the file's name.
|
accept, afterPropertiesSet, setPattern, setPattern
filterFiles
public FtpRegexPatternFileListFilter(java.lang.String pattern)
public FtpRegexPatternFileListFilter(java.util.regex.Pattern pattern)
protected java.lang.String getFilename(org.apache.commons.net.ftp.FTPFile file)
AbstractRegexPatternFileListFilter
getFilename
in class AbstractRegexPatternFileListFilter<org.apache.commons.net.ftp.FTPFile>