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:
FileListFilter<jcifs.smb.SmbFile>
public class SmbSimplePatternFileListFilter
extends AbstractSimplePatternFileListFilter<jcifs.smb.SmbFile>
Implementation of
AbstractSimplePatternFileListFilter
for SMB.- Since:
- 6.0
- Author:
- Markus Spann, Prafull Kumar Soni
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getFilename
(jcifs.smb.SmbFile file) Gets the specified SMB file's name.protected boolean
isDirectory
(jcifs.smb.SmbFile file) Subclasses must implement this method to indicate whether the file is a directory or not.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
-
Constructor Details
-
SmbSimplePatternFileListFilter
-
-
Method Details
-
getFilename
Gets the specified SMB file's name.- Specified by:
getFilename
in classAbstractSimplePatternFileListFilter<jcifs.smb.SmbFile>
- Parameters:
file
- SMB file object- Returns:
- file name
- See Also:
-
isDirectory
protected boolean isDirectory(jcifs.smb.SmbFile file) Description copied from class:AbstractDirectoryAwareFileListFilter
Subclasses must implement this method to indicate whether the file is a directory or not.- Specified by:
isDirectory
in classAbstractDirectoryAwareFileListFilter<jcifs.smb.SmbFile>
- Parameters:
file
- the file.- Returns:
- true if it's a directory.
-