Class FtpSimplePatternFileListFilter

java.lang.Object
org.springframework.integration.file.filters.AbstractFileListFilter<F>
org.springframework.integration.file.filters.AbstractDirectoryAwareFileListFilter<F>
org.springframework.integration.file.filters.AbstractSimplePatternFileListFilter<org.apache.commons.net.ftp.FTPFile>
org.springframework.integration.ftp.filters.FtpSimplePatternFileListFilter
All Implemented Interfaces:
org.springframework.integration.file.filters.FileListFilter<org.apache.commons.net.ftp.FTPFile>

public class FtpSimplePatternFileListFilter
extends org.springframework.integration.file.filters.AbstractSimplePatternFileListFilter<org.apache.commons.net.ftp.FTPFile>
Implementation of AbstractSimplePatternFileListFilter for FTP.
Since:
2.0
  • Constructor Summary

    Constructors 
    Constructor Description
    FtpSimplePatternFileListFilter​(java.lang.String pattern)  
  • Method Summary

    Modifier and Type Method Description
    protected java.lang.String getFilename​(org.apache.commons.net.ftp.FTPFile file)  
    protected boolean isDirectory​(org.apache.commons.net.ftp.FTPFile file)  

    Methods inherited from class org.springframework.integration.file.filters.AbstractSimplePatternFileListFilter

    accept

    Methods inherited from class org.springframework.integration.file.filters.AbstractDirectoryAwareFileListFilter

    alwaysAccept, isForRecursion, setAlwaysAcceptDirectories, setForRecursion

    Methods inherited from class org.springframework.integration.file.filters.AbstractFileListFilter

    filterFiles, supportsSingleFileFiltering

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getFilename

      protected java.lang.String getFilename​(org.apache.commons.net.ftp.FTPFile file)
      Specified by:
      getFilename in class org.springframework.integration.file.filters.AbstractSimplePatternFileListFilter<org.apache.commons.net.ftp.FTPFile>
    • isDirectory

      protected boolean isDirectory​(org.apache.commons.net.ftp.FTPFile file)
      Specified by:
      isDirectory in class org.springframework.integration.file.filters.AbstractDirectoryAwareFileListFilter<org.apache.commons.net.ftp.FTPFile>