|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.camel.component.file.AntPathMatcherGenericFileFilter<T>
T
- public class AntPathMatcherGenericFileFilter<T>
File filter using AntPathMatcher.
Exclude take precedence over includes. If a file match both exclude and include it will be regarded as excluded.
Constructor Summary | |
---|---|
AntPathMatcherGenericFileFilter()
|
|
AntPathMatcherGenericFileFilter(String... includes)
|
Method Summary | |
---|---|
boolean |
accept(GenericFile<T> file)
Tests whether or not the specified generic file should be included |
String[] |
getExcludes()
|
String[] |
getIncludes()
|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AntPathMatcherGenericFileFilter()
public AntPathMatcherGenericFileFilter(String... includes)
Method Detail |
---|
public boolean accept(GenericFile<T> file)
GenericFileFilter
accept
in interface GenericFileFilter<T>
file
- the generic file to be tested
true
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |