|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.component.file.AntPathMatcherGenericFileFilter
public class AntPathMatcherGenericFileFilter
File filter using Spring's AntPathMatcher.
Exclude take precedence over includes. If a file match both exclude and include it will be regarded as excluded.
| Constructor Summary | |
|---|---|
AntPathMatcherGenericFileFilter()
|
|
| Method Summary | |
|---|---|
boolean |
accept(GenericFile 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()
| Method Detail |
|---|
public boolean accept(GenericFile file)
GenericFileFilter
accept in interface GenericFileFilterfile - 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 | |||||||||