Class SftpRecentFileListFilter

java.lang.Object
org.springframework.integration.file.filters.AbstractRecentFileListFilter<org.apache.sshd.sftp.client.SftpClient.DirEntry>
org.springframework.integration.sftp.filters.SftpRecentFileListFilter
All Implemented Interfaces:
org.springframework.integration.file.filters.FileListFilter<org.apache.sshd.sftp.client.SftpClient.DirEntry>

public class SftpRecentFileListFilter extends org.springframework.integration.file.filters.AbstractRecentFileListFilter<org.apache.sshd.sftp.client.SftpClient.DirEntry>
The AbstractRecentFileListFilter implementation for SFTP 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.sshd.sftp.client.SftpClient.DirEntry 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

    • SftpRecentFileListFilter

      public SftpRecentFileListFilter()
    • SftpRecentFileListFilter

      public SftpRecentFileListFilter(Duration age)
  • Method Details

    • getLastModified

      protected Instant getLastModified(org.apache.sshd.sftp.client.SftpClient.DirEntry remoteFile)
      Specified by:
      getLastModified in class org.springframework.integration.file.filters.AbstractRecentFileListFilter<org.apache.sshd.sftp.client.SftpClient.DirEntry>