Class AcceptAllFileListFilter<F>
java.lang.Object
org.springframework.integration.file.filters.AbstractFileListFilter<F>
org.springframework.integration.file.filters.AcceptAllFileListFilter<F>
- Type Parameters:
F- The type that will be filtered.
- All Implemented Interfaces:
FileListFilter<F>
public class AcceptAllFileListFilter<F> extends AbstractFileListFilter<F>
Simple implementation of
FileListFilter that always returns true.
Suitable as a default.-
Constructor Summary
Constructors Constructor Description AcceptAllFileListFilter() -
Method Summary
Methods inherited from class org.springframework.integration.file.filters.AbstractFileListFilter
filterFiles, supportsSingleFileFiltering
-
Constructor Details
-
AcceptAllFileListFilter
public AcceptAllFileListFilter()
-
-
Method Details
-
accept
Description copied from class:AbstractFileListFilterSubclasses must implement this method.- Specified by:
acceptin interfaceFileListFilter<F>- Specified by:
acceptin classAbstractFileListFilter<F>- Parameters:
file- The file.- Returns:
- true if the file passes the filter.
- See Also:
FileListFilter.supportsSingleFileFiltering()
-