Spring Integration

org.springframework.integration.sftp.filters
Class SftpRegexPatternFileListFilter

java.lang.Object
  extended by org.springframework.integration.file.filters.AbstractFileListFilter<F>
      extended by org.springframework.integration.file.filters.AbstractRegexPatternFileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry>
          extended by org.springframework.integration.sftp.filters.SftpRegexPatternFileListFilter
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, FileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry>

public class SftpRegexPatternFileListFilter
extends AbstractRegexPatternFileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry>

Implementation of AbstractRegexPatternFileListFilter for SFTP.

Since:
2.0
Author:
Mark Fisher

Constructor Summary
SftpRegexPatternFileListFilter(java.util.regex.Pattern pattern)
           
SftpRegexPatternFileListFilter(java.lang.String pattern)
           
 
Method Summary
protected  java.lang.String getFilename(com.jcraft.jsch.ChannelSftp.LsEntry entry)
          Subclasses must implement this method to extract the file's name.
 
Methods inherited from class org.springframework.integration.file.filters.AbstractRegexPatternFileListFilter
accept, afterPropertiesSet, setPattern, setPattern
 
Methods inherited from class org.springframework.integration.file.filters.AbstractFileListFilter
filterFiles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SftpRegexPatternFileListFilter

public SftpRegexPatternFileListFilter(java.lang.String pattern)

SftpRegexPatternFileListFilter

public SftpRegexPatternFileListFilter(java.util.regex.Pattern pattern)
Method Detail

getFilename

protected java.lang.String getFilename(com.jcraft.jsch.ChannelSftp.LsEntry entry)
Description copied from class: AbstractRegexPatternFileListFilter
Subclasses must implement this method to extract the file's name.

Specified by:
getFilename in class AbstractRegexPatternFileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry>

Spring Integration