Class SftpSystemMarkerFilePresentFileListFilter
java.lang.Object
org.springframework.integration.file.filters.AbstractMarkerFilePresentFileListFilter<org.apache.sshd.sftp.client.SftpClient.DirEntry>
org.springframework.integration.sftp.filters.SftpSystemMarkerFilePresentFileListFilter
- All Implemented Interfaces:
FileListFilter<org.apache.sshd.sftp.client.SftpClient.DirEntry>
public class SftpSystemMarkerFilePresentFileListFilter
extends AbstractMarkerFilePresentFileListFilter<org.apache.sshd.sftp.client.SftpClient.DirEntry>
SFTP implementation of
AbstractMarkerFilePresentFileListFilter
.- Since:
- 5.0
- Author:
- Gary Russell, Artem Bilan
-
Constructor Summary
ConstructorDescriptionSftpSystemMarkerFilePresentFileListFilter
(Map<FileListFilter<org.apache.sshd.sftp.client.SftpClient.DirEntry>, Function<String, String>> filtersAndFunctions) SftpSystemMarkerFilePresentFileListFilter
(FileListFilter<org.apache.sshd.sftp.client.SftpClient.DirEntry> filter) SftpSystemMarkerFilePresentFileListFilter
(FileListFilter<org.apache.sshd.sftp.client.SftpClient.DirEntry> filter, String suffix) SftpSystemMarkerFilePresentFileListFilter
(FileListFilter<org.apache.sshd.sftp.client.SftpClient.DirEntry> filter, Function<String, String> function) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getFilename
(org.apache.sshd.sftp.client.SftpClient.DirEntry 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<org.apache.sshd.sftp.client.SftpClient.DirEntry> filter) -
SftpSystemMarkerFilePresentFileListFilter
public SftpSystemMarkerFilePresentFileListFilter(FileListFilter<org.apache.sshd.sftp.client.SftpClient.DirEntry> filter, String suffix) -
SftpSystemMarkerFilePresentFileListFilter
public SftpSystemMarkerFilePresentFileListFilter(FileListFilter<org.apache.sshd.sftp.client.SftpClient.DirEntry> filter, Function<String, String> function) -
SftpSystemMarkerFilePresentFileListFilter
public SftpSystemMarkerFilePresentFileListFilter(Map<FileListFilter<org.apache.sshd.sftp.client.SftpClient.DirEntry>, 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.sshd.sftp.client.SftpClient.DirEntry>
- Parameters:
file
- the file.- Returns:
- the name.
-