Spring Integration

org.springframework.integration.ftp.filters
Class FtpRegexPatternFileListFilter

java.lang.Object
  extended by org.springframework.integration.file.filters.AbstractFileListFilter<F>
      extended by org.springframework.integration.file.filters.AbstractRegexPatternFileListFilter<org.apache.commons.net.ftp.FTPFile>
          extended by org.springframework.integration.ftp.filters.FtpRegexPatternFileListFilter
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, FileListFilter<org.apache.commons.net.ftp.FTPFile>

public class FtpRegexPatternFileListFilter
extends AbstractRegexPatternFileListFilter<org.apache.commons.net.ftp.FTPFile>

Implementation of AbstractRegexPatternFileListFilter for FTP.

Since:
2.0
Author:
Mark Fisher

Constructor Summary
FtpRegexPatternFileListFilter(java.util.regex.Pattern pattern)
           
FtpRegexPatternFileListFilter(java.lang.String pattern)
           
 
Method Summary
protected  java.lang.String getFilename(org.apache.commons.net.ftp.FTPFile file)
          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

FtpRegexPatternFileListFilter

public FtpRegexPatternFileListFilter(java.lang.String pattern)

FtpRegexPatternFileListFilter

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

getFilename

protected java.lang.String getFilename(org.apache.commons.net.ftp.FTPFile file)
Description copied from class: AbstractRegexPatternFileListFilter
Subclasses must implement this method to extract the file's name.

Specified by:
getFilename in class AbstractRegexPatternFileListFilter<org.apache.commons.net.ftp.FTPFile>

Spring Integration