Class SftpRegexPatternFileListFilter

java.lang.Object
org.springframework.integration.file.filters.AbstractFileListFilter<F>
org.springframework.integration.file.filters.AbstractDirectoryAwareFileListFilter<F>
org.springframework.integration.file.filters.AbstractRegexPatternFileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry>
org.springframework.integration.sftp.filters.SftpRegexPatternFileListFilter
All Implemented Interfaces:
org.springframework.integration.file.filters.FileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry>

public class SftpRegexPatternFileListFilter
extends org.springframework.integration.file.filters.AbstractRegexPatternFileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry>
Implementation of AbstractRegexPatternFileListFilter for SFTP.
Since:
2.0
  • Constructor Summary

    Constructors 
    Constructor Description
    SftpRegexPatternFileListFilter​(java.lang.String pattern)  
    SftpRegexPatternFileListFilter​(java.util.regex.Pattern pattern)  
  • Method Summary

    Modifier and Type Method Description
    protected java.lang.String getFilename​(com.jcraft.jsch.ChannelSftp.LsEntry entry)  
    protected boolean isDirectory​(com.jcraft.jsch.ChannelSftp.LsEntry file)  

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

    accept, setPattern, setPattern

    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​(com.jcraft.jsch.ChannelSftp.LsEntry entry)
      Specified by:
      getFilename in class org.springframework.integration.file.filters.AbstractRegexPatternFileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry>
    • isDirectory

      protected boolean isDirectory​(com.jcraft.jsch.ChannelSftp.LsEntry file)
      Specified by:
      isDirectory in class org.springframework.integration.file.filters.AbstractDirectoryAwareFileListFilter<com.jcraft.jsch.ChannelSftp.LsEntry>