Class FtpSystemMarkerFilePresentFileListFilter
java.lang.Object
org.springframework.integration.file.filters.AbstractMarkerFilePresentFileListFilter<org.apache.commons.net.ftp.FTPFile>
org.springframework.integration.ftp.filters.FtpSystemMarkerFilePresentFileListFilter
- All Implemented Interfaces:
FileListFilter<org.apache.commons.net.ftp.FTPFile>
public class FtpSystemMarkerFilePresentFileListFilter extends AbstractMarkerFilePresentFileListFilter<org.apache.commons.net.ftp.FTPFile>
FTP implementation of
AbstractMarkerFilePresentFileListFilter.- Since:
- 5.0
- Author:
- Gary Russell
-
Constructor Summary
Constructors Constructor Description FtpSystemMarkerFilePresentFileListFilter(Map<FileListFilter<org.apache.commons.net.ftp.FTPFile>,Function<String,String>> filtersAndFunctions)FtpSystemMarkerFilePresentFileListFilter(FileListFilter<org.apache.commons.net.ftp.FTPFile> filter)FtpSystemMarkerFilePresentFileListFilter(FileListFilter<org.apache.commons.net.ftp.FTPFile> filter, String suffix)FtpSystemMarkerFilePresentFileListFilter(FileListFilter<org.apache.commons.net.ftp.FTPFile> filter, Function<String,String> function) -
Method Summary
Modifier and Type Method Description protected StringgetFilename(org.apache.commons.net.ftp.FTPFile file)Return the name of the file represented by this F.Methods inherited from class org.springframework.integration.file.filters.AbstractMarkerFilePresentFileListFilter
defaultFileNameFunction, filterFilesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.integration.file.filters.FileListFilter
accept, supportsSingleFileFiltering
-
Constructor Details
-
FtpSystemMarkerFilePresentFileListFilter
public FtpSystemMarkerFilePresentFileListFilter(FileListFilter<org.apache.commons.net.ftp.FTPFile> filter) -
FtpSystemMarkerFilePresentFileListFilter
public FtpSystemMarkerFilePresentFileListFilter(FileListFilter<org.apache.commons.net.ftp.FTPFile> filter, String suffix) -
FtpSystemMarkerFilePresentFileListFilter
public FtpSystemMarkerFilePresentFileListFilter(FileListFilter<org.apache.commons.net.ftp.FTPFile> filter, Function<String,String> function) -
FtpSystemMarkerFilePresentFileListFilter
public FtpSystemMarkerFilePresentFileListFilter(Map<FileListFilter<org.apache.commons.net.ftp.FTPFile>,Function<String,String>> filtersAndFunctions)
-
-
Method Details
-
getFilename
Description copied from class:AbstractMarkerFilePresentFileListFilterReturn the name of the file represented by this F.- Specified by:
getFilenamein classAbstractMarkerFilePresentFileListFilter<org.apache.commons.net.ftp.FTPFile>- Parameters:
file- the file.- Returns:
- the name.
-