Class SftpSystemMarkerFilePresentFileListFilter
java.lang.Object
org.springframework.integration.file.filters.AbstractMarkerFilePresentFileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry>
org.springframework.integration.sftp.filters.SftpSystemMarkerFilePresentFileListFilter
- All Implemented Interfaces:
FileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry>
public class SftpSystemMarkerFilePresentFileListFilter extends AbstractMarkerFilePresentFileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry>
SFTP implementation of
AbstractMarkerFilePresentFileListFilter
.- Since:
- 5.0
- Author:
- Gary Russell
-
Constructor Summary
Constructors Constructor Description SftpSystemMarkerFilePresentFileListFilter(Map<FileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry>,Function<String,String>> filtersAndFunctions)
SftpSystemMarkerFilePresentFileListFilter(FileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry> filter)
SftpSystemMarkerFilePresentFileListFilter(FileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry> filter, String suffix)
SftpSystemMarkerFilePresentFileListFilter(FileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry> filter, Function<String,String> function)
-
Method Summary
Modifier and Type Method Description protected String
getFilename(com.jcraft.jsch.ChannelSftp.LsEntry 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
-
SftpSystemMarkerFilePresentFileListFilter
public SftpSystemMarkerFilePresentFileListFilter(FileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry> filter) -
SftpSystemMarkerFilePresentFileListFilter
public SftpSystemMarkerFilePresentFileListFilter(FileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry> filter, String suffix) -
SftpSystemMarkerFilePresentFileListFilter
public SftpSystemMarkerFilePresentFileListFilter(FileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry> filter, Function<String,String> function) -
SftpSystemMarkerFilePresentFileListFilter
public SftpSystemMarkerFilePresentFileListFilter(Map<FileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry>,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<com.jcraft.jsch.ChannelSftp.LsEntry>
- Parameters:
file
- the file.- Returns:
- the name.
-