Class IgnoreHiddenFileListFilter
java.lang.Object
org.springframework.integration.file.filters.AbstractFileListFilter<File>
org.springframework.integration.file.filters.IgnoreHiddenFileListFilter
- All Implemented Interfaces:
FileListFilter<File>
FileListFilter implementation that ignores any hidden files. Uses
File.isHidden() to make that determination.- Since:
- 4.2
- Author:
- Gunnar Hillert
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.integration.file.filters.AbstractFileListFilter
filterFiles, supportsSingleFileFilteringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.integration.file.filters.FileListFilter
isForRecursion
-
Constructor Details
-
IgnoreHiddenFileListFilter
public IgnoreHiddenFileListFilter()
-
-
Method Details
-
accept
Description copied from class:AbstractFileListFilterSubclasses must implement this method.- Specified by:
acceptin interfaceFileListFilter<File>- Specified by:
acceptin classAbstractFileListFilter<File>- Parameters:
file- The file.- Returns:
- Returns
truefor any non-hidden files. - See Also:
-