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<com.jcraft.jsch.ChannelSftp.LsEntry>
org.springframework.integration.sftp.filters.SftpRegexPatternFileListFilter
- All Implemented Interfaces:
org.springframework.integration.file.filters.FileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry>
public class SftpRegexPatternFileListFilter
extends org.springframework.integration.file.filters.AbstractRegexPatternFileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry>
Implementation of
AbstractRegexPatternFileListFilter for SFTP.- Since:
- 2.0
-
Constructor Summary
ConstructorsConstructorDescriptionSftpRegexPatternFileListFilter(String pattern) SftpRegexPatternFileListFilter(Pattern pattern) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetFilename(com.jcraft.jsch.ChannelSftp.LsEntry entry) protected booleanisDirectory(com.jcraft.jsch.ChannelSftp.LsEntry file) Methods inherited from class org.springframework.integration.file.filters.AbstractRegexPatternFileListFilter
accept, setPattern, setPatternMethods inherited from class org.springframework.integration.file.filters.AbstractDirectoryAwareFileListFilter
alwaysAccept, isForRecursion, setAlwaysAcceptDirectories, setForRecursionMethods inherited from class org.springframework.integration.file.filters.AbstractFileListFilter
filterFiles, supportsSingleFileFiltering
-
Constructor Details
-
SftpRegexPatternFileListFilter
-
SftpRegexPatternFileListFilter
-
-
Method Details
-
getFilename
- Specified by:
getFilenamein classorg.springframework.integration.file.filters.AbstractRegexPatternFileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry>
-
isDirectory
protected boolean isDirectory(com.jcraft.jsch.ChannelSftp.LsEntry file) - Specified by:
isDirectoryin classorg.springframework.integration.file.filters.AbstractDirectoryAwareFileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry>
-