Class SmbRegexPatternFileListFilter

java.lang.Object
org.springframework.integration.file.filters.AbstractFileListFilter<F>
org.springframework.integration.file.filters.AbstractDirectoryAwareFileListFilter<F>
org.springframework.integration.file.filters.AbstractRegexPatternFileListFilter<jcifs.smb.SmbFile>
org.springframework.integration.smb.filters.SmbRegexPatternFileListFilter
All Implemented Interfaces:
org.springframework.integration.file.filters.FileListFilter<jcifs.smb.SmbFile>

public class SmbRegexPatternFileListFilter extends org.springframework.integration.file.filters.AbstractRegexPatternFileListFilter<jcifs.smb.SmbFile>
Implementation of AbstractRegexPatternFileListFilter for SMB.
Since:
6.0
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    getFilename(jcifs.smb.SmbFile file)
    Gets the specified SMB file's name.
    protected boolean
    isDirectory(jcifs.smb.SmbFile 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

    • SmbRegexPatternFileListFilter

      public SmbRegexPatternFileListFilter(String pattern)
    • SmbRegexPatternFileListFilter

      public SmbRegexPatternFileListFilter(Pattern pattern)
  • Method Details

    • getFilename

      protected String getFilename(jcifs.smb.SmbFile file)
      Gets the specified SMB file's name.
      Specified by:
      getFilename in class org.springframework.integration.file.filters.AbstractRegexPatternFileListFilter<jcifs.smb.SmbFile>
      Parameters:
      file - SMB file object
      Returns:
      file name
      See Also:
      • AbstractRegexPatternFileListFilter.getFilename(java.lang.Object)
    • isDirectory

      protected boolean isDirectory(jcifs.smb.SmbFile file)
      Specified by:
      isDirectory in class org.springframework.integration.file.filters.AbstractDirectoryAwareFileListFilter<jcifs.smb.SmbFile>