Class FtpRecentFileListFilter

java.lang.Object
org.springframework.integration.file.filters.AbstractRecentFileListFilter<org.apache.commons.net.ftp.FTPFile>
org.springframework.integration.ftp.filters.FtpRecentFileListFilter
All Implemented Interfaces:
org.springframework.integration.file.filters.FileListFilter<org.apache.commons.net.ftp.FTPFile>

public class FtpRecentFileListFilter extends org.springframework.integration.file.filters.AbstractRecentFileListFilter<org.apache.commons.net.ftp.FTPFile>
The AbstractRecentFileListFilter implementation for FTP protocol.
Since:
6.5
  • Field Summary

    Fields inherited from class org.springframework.integration.file.filters.AbstractRecentFileListFilter

    ONE_SECOND
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Instant
    getLastModified(org.apache.commons.net.ftp.FTPFile remoteFile)
     

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

    accept, fileIsAged, filterFiles, supportsSingleFileFiltering

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.integration.file.filters.FileListFilter

    isForRecursion
  • Constructor Details

    • FtpRecentFileListFilter

      public FtpRecentFileListFilter()
    • FtpRecentFileListFilter

      public FtpRecentFileListFilter(Duration age)
  • Method Details

    • getLastModified

      protected Instant getLastModified(org.apache.commons.net.ftp.FTPFile remoteFile)
      Specified by:
      getLastModified in class org.springframework.integration.file.filters.AbstractRecentFileListFilter<org.apache.commons.net.ftp.FTPFile>