Class FtpRegexPatternFileListFilter
java.lang.Object
org.springframework.integration.file.filters.AbstractFileListFilter<F>
org.springframework.integration.file.filters.AbstractDirectoryAwareFileListFilter<F>
org.springframework.integration.file.filters.AbstractRegexPatternFileListFilter<org.apache.commons.net.ftp.FTPFile>
org.springframework.integration.ftp.filters.FtpRegexPatternFileListFilter
- All Implemented Interfaces:
org.springframework.integration.file.filters.FileListFilter<org.apache.commons.net.ftp.FTPFile>
public class FtpRegexPatternFileListFilter
extends org.springframework.integration.file.filters.AbstractRegexPatternFileListFilter<org.apache.commons.net.ftp.FTPFile>
Implementation of
AbstractRegexPatternFileListFilter for FTP.- Since:
- 2.0
-
Constructor Summary
Constructors Constructor Description FtpRegexPatternFileListFilter(java.lang.String pattern)FtpRegexPatternFileListFilter(java.util.regex.Pattern pattern) -
Method Summary
Modifier and Type Method Description protected java.lang.StringgetFilename(org.apache.commons.net.ftp.FTPFile file)protected booleanisDirectory(org.apache.commons.net.ftp.FTPFile file)Methods inherited from class org.springframework.integration.file.filters.AbstractRegexPatternFileListFilter
accept, setPattern, setPatternMethods inherited from class org.springframework.integration.file.filters.AbstractDirectoryAwareFileListFilter
alwaysAccept, setAlwaysAcceptDirectories
-
Constructor Details
-
FtpRegexPatternFileListFilter
public FtpRegexPatternFileListFilter(java.lang.String pattern) -
FtpRegexPatternFileListFilter
public FtpRegexPatternFileListFilter(java.util.regex.Pattern pattern)
-
-
Method Details
-
getFilename
protected java.lang.String getFilename(org.apache.commons.net.ftp.FTPFile file)- Specified by:
getFilenamein classorg.springframework.integration.file.filters.AbstractRegexPatternFileListFilter<org.apache.commons.net.ftp.FTPFile>
-
isDirectory
protected boolean isDirectory(org.apache.commons.net.ftp.FTPFile file)- Specified by:
isDirectoryin classorg.springframework.integration.file.filters.AbstractDirectoryAwareFileListFilter<org.apache.commons.net.ftp.FTPFile>
-