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
ConstructorsConstructorDescriptionSmbRegexPatternFileListFilter(String pattern) SmbRegexPatternFileListFilter(Pattern pattern) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetFilename(jcifs.smb.SmbFile file) Gets the specified SMB file's name.protected booleanisDirectory(jcifs.smb.SmbFile file) Methods inherited from class org.springframework.integration.file.filters.AbstractRegexPatternFileListFilter
accept, setPattern, setPatternMethods inherited from class org.springframework.integration.file.filters.AbstractDirectoryAwareFileListFilter
alwaysAccept, isForRecursion, setAlwaysAcceptDirectories, setForRecursionMethods inherited from class org.springframework.integration.file.filters.AbstractFileListFilter
filterFiles, supportsSingleFileFiltering
-
Constructor Details
-
SmbRegexPatternFileListFilter
-
SmbRegexPatternFileListFilter
-
-
Method Details
-
getFilename
Gets the specified SMB file's name.- Specified by:
getFilenamein classorg.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:
isDirectoryin classorg.springframework.integration.file.filters.AbstractDirectoryAwareFileListFilter<jcifs.smb.SmbFile>
-