Class SmbSimplePatternFileListFilter

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

public class SmbSimplePatternFileListFilter extends org.springframework.integration.file.filters.AbstractSimplePatternFileListFilter<jcifs.smb.SmbFile>
Implementation of AbstractSimplePatternFileListFilter 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.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

    • SmbSimplePatternFileListFilter

      public SmbSimplePatternFileListFilter(String pathPattern)
  • 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.AbstractSimplePatternFileListFilter<jcifs.smb.SmbFile>
      Parameters:
      file - SMB file object
      Returns:
      file name
      See Also:
      • AbstractSimplePatternFileListFilter.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>