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
Constructors Constructor Description SftpRegexPatternFileListFilter(java.lang.String pattern)SftpRegexPatternFileListFilter(java.util.regex.Pattern pattern) -
Method Summary
Modifier and Type Method Description protected java.lang.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, setAlwaysAcceptDirectories
-
Constructor Details
-
SftpRegexPatternFileListFilter
public SftpRegexPatternFileListFilter(java.lang.String pattern) -
SftpRegexPatternFileListFilter
public SftpRegexPatternFileListFilter(java.util.regex.Pattern pattern)
-
-
Method Details
-
getFilename
protected java.lang.String getFilename(com.jcraft.jsch.ChannelSftp.LsEntry entry)- 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>
-