Package org.apache.camel.component.file
Interface GenericFileFilter<T>
- All Known Subinterfaces:
OptimizedFileFilter
- All Known Implementing Classes:
AntPathMatcherGenericFileFilter
public interface GenericFileFilter<T>
A filter for
GenericFile.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(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:
trueif and only iffileshould be included
-