T
- public class AntPathMatcherGenericFileFilter<T> extends Object implements GenericFileFilter<T>
Constructor and Description |
---|
AntPathMatcherGenericFileFilter() |
AntPathMatcherGenericFileFilter(String... includes) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(GenericFile<T> file)
Tests whether or not the specified generic file should be included
|
String[] |
getExcludes() |
String[] |
getIncludes() |
boolean |
isCaseSensitive() |
void |
setCaseSensitive(boolean caseSensitive)
Sets case sensitive flag on
AntPathMatcherFileFilter
Is by default turned on true. |
void |
setExcludes(String excludes)
Sets excludes using a single string where each element can be separated with comma
|
void |
setExcludes(String[] excludes) |
void |
setIncludes(String includes)
Sets includes using a single string where each element can be separated with comma
|
void |
setIncludes(String[] includes) |
public AntPathMatcherGenericFileFilter()
public AntPathMatcherGenericFileFilter(String... includes)
public boolean accept(GenericFile<T> file)
GenericFileFilter
accept
in interface GenericFileFilter<T>
file
- the generic file to be testedtrue
if and only if file
should be includedpublic String[] getExcludes()
public void setExcludes(String[] excludes)
public String[] getIncludes()
public void setIncludes(String[] includes)
public void setExcludes(String excludes)
public void setIncludes(String includes)
public void setCaseSensitive(boolean caseSensitive)
AntPathMatcherFileFilter
Is by default turned on true.public boolean isCaseSensitive()
Apache Camel