Class SftpSimplePatternFileListFilter

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.sshd.sftp.client.SftpClient.DirEntry>
org.springframework.integration.sftp.filters.SftpSimplePatternFileListFilter
All Implemented Interfaces:
org.springframework.integration.file.filters.FileListFilter<org.apache.sshd.sftp.client.SftpClient.DirEntry>

public class SftpSimplePatternFileListFilter extends org.springframework.integration.file.filters.AbstractSimplePatternFileListFilter<org.apache.sshd.sftp.client.SftpClient.DirEntry>
Implementation of AbstractSimplePatternFileListFilter for SFTP.
Since:
2.0
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    getFilename(org.apache.sshd.sftp.client.SftpClient.DirEntry entry)
     
    protected boolean
    isDirectory(org.apache.sshd.sftp.client.SftpClient.DirEntry 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

    • SftpSimplePatternFileListFilter

      public SftpSimplePatternFileListFilter(String pattern)
  • Method Details

    • getFilename

      protected String getFilename(org.apache.sshd.sftp.client.SftpClient.DirEntry entry)
      Specified by:
      getFilename in class org.springframework.integration.file.filters.AbstractSimplePatternFileListFilter<org.apache.sshd.sftp.client.SftpClient.DirEntry>
    • isDirectory

      protected boolean isDirectory(org.apache.sshd.sftp.client.SftpClient.DirEntry file)
      Specified by:
      isDirectory in class org.springframework.integration.file.filters.AbstractDirectoryAwareFileListFilter<org.apache.sshd.sftp.client.SftpClient.DirEntry>