Class SftpSimplePatternFileListFilter
java.lang.Object
org.springframework.integration.file.filters.AbstractFileListFilter<F>
org.springframework.integration.file.filters.AbstractDirectoryAwareFileListFilter<F>
org.springframework.integration.file.filters.AbstractSimplePatternFileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry>
org.springframework.integration.sftp.filters.SftpSimplePatternFileListFilter
- All Implemented Interfaces:
org.springframework.integration.file.filters.FileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry>
public class SftpSimplePatternFileListFilter
extends org.springframework.integration.file.filters.AbstractSimplePatternFileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry>
Implementation of
AbstractSimplePatternFileListFilter for SFTP.- Since:
- 2.0
-
Constructor Summary
Constructors Constructor Description SftpSimplePatternFileListFilter(java.lang.String 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.AbstractSimplePatternFileListFilter
acceptMethods inherited from class org.springframework.integration.file.filters.AbstractDirectoryAwareFileListFilter
alwaysAccept, setAlwaysAcceptDirectories
-
Constructor Details
-
SftpSimplePatternFileListFilter
public SftpSimplePatternFileListFilter(java.lang.String pattern)
-
-
Method Details
-
getFilename
protected java.lang.String getFilename(com.jcraft.jsch.ChannelSftp.LsEntry entry)- Specified by:
getFilenamein classorg.springframework.integration.file.filters.AbstractSimplePatternFileListFilter<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>
-