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
ConstructorDescriptionFtpSystemMarkerFilePresentFileListFilter
(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 TypeMethodDescriptionprotected String
getFilename
(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, filterFiles
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.integration.file.filters.FileListFilter
accept, isForRecursion, 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:AbstractMarkerFilePresentFileListFilter
Return the name of the file represented by this F.- Specified by:
getFilename
in classAbstractMarkerFilePresentFileListFilter<org.apache.commons.net.ftp.FTPFile>
- Parameters:
file
- the file.- Returns:
- the name.
-