Class FtpSimplePatternFileListFilter
java.lang.Object
org.springframework.integration.file.filters.AbstractFileListFilter<F>
org.springframework.integration.file.filters.AbstractDirectoryAwareFileListFilter<F>
org.springframework.integration.file.filters.AbstractSimplePatternFileListFilter<org.apache.commons.net.ftp.FTPFile>
org.springframework.integration.ftp.filters.FtpSimplePatternFileListFilter
- All Implemented Interfaces:
org.springframework.integration.file.filters.FileListFilter<org.apache.commons.net.ftp.FTPFile>
public class FtpSimplePatternFileListFilter
extends org.springframework.integration.file.filters.AbstractSimplePatternFileListFilter<org.apache.commons.net.ftp.FTPFile>
Implementation of
AbstractSimplePatternFileListFilter for FTP.- Since:
- 2.0
-
Constructor Summary
Constructors Constructor Description FtpSimplePatternFileListFilter(java.lang.String 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.AbstractSimplePatternFileListFilter
acceptMethods inherited from class org.springframework.integration.file.filters.AbstractDirectoryAwareFileListFilter
alwaysAccept, setAlwaysAcceptDirectories
-
Constructor Details
-
FtpSimplePatternFileListFilter
public FtpSimplePatternFileListFilter(java.lang.String pattern)
-
-
Method Details
-
getFilename
protected java.lang.String getFilename(org.apache.commons.net.ftp.FTPFile file)- Specified by:
getFilenamein classorg.springframework.integration.file.filters.AbstractSimplePatternFileListFilter<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>
-