Package org.apache.camel.component.file
Interface GenericFileFilter<T>
- All Known Implementing Classes:
AntPathMatcherGenericFileFilter
public interface GenericFileFilter<T>
A filter for
GenericFile
.-
Method Summary
Modifier and TypeMethodDescriptionboolean
accept
(GenericFile<T> file) Tests whether the specified generic file should be included
-
Method Details
-
accept
Tests whether the specified generic file should be included- Parameters:
file
- the generic file to be tested- Returns:
true
if and only iffile
should be included
-