Class SftpRegexPatternFileListFilter
java.lang.Object
org.springframework.integration.file.filters.AbstractFileListFilter<F>
org.springframework.integration.file.filters.AbstractDirectoryAwareFileListFilter<F>
org.springframework.integration.file.filters.AbstractRegexPatternFileListFilter<org.apache.sshd.sftp.client.SftpClient.DirEntry>
org.springframework.integration.sftp.filters.SftpRegexPatternFileListFilter
- All Implemented Interfaces:
org.springframework.integration.file.filters.FileListFilter<org.apache.sshd.sftp.client.SftpClient.DirEntry>
public class SftpRegexPatternFileListFilter
extends org.springframework.integration.file.filters.AbstractRegexPatternFileListFilter<org.apache.sshd.sftp.client.SftpClient.DirEntry>
Implementation of
AbstractRegexPatternFileListFilter
for SFTP.- Since:
- 2.0
-
Constructor Summary
ConstructorDescriptionSftpRegexPatternFileListFilter
(String pattern) SftpRegexPatternFileListFilter
(Pattern pattern) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getFilename
(org.apache.sshd.sftp.client.SftpClient.DirEntry entry) protected boolean
isDirectory
(org.apache.sshd.sftp.client.SftpClient.DirEntry file) Methods inherited from class org.springframework.integration.file.filters.AbstractRegexPatternFileListFilter
accept, setPattern, setPattern
Methods inherited from class org.springframework.integration.file.filters.AbstractDirectoryAwareFileListFilter
alwaysAccept, isForRecursion, setAlwaysAcceptDirectories, setForRecursion
Methods inherited from class org.springframework.integration.file.filters.AbstractFileListFilter
filterFiles, supportsSingleFileFiltering
-
Constructor Details
-
SftpRegexPatternFileListFilter
-
SftpRegexPatternFileListFilter
-
-
Method Details
-
getFilename
- Specified by:
getFilename
in classorg.springframework.integration.file.filters.AbstractRegexPatternFileListFilter<org.apache.sshd.sftp.client.SftpClient.DirEntry>
-
isDirectory
protected boolean isDirectory(org.apache.sshd.sftp.client.SftpClient.DirEntry file) - Specified by:
isDirectory
in classorg.springframework.integration.file.filters.AbstractDirectoryAwareFileListFilter<org.apache.sshd.sftp.client.SftpClient.DirEntry>
-