|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.component.file.AntPathMatcherFileFilter
public class AntPathMatcherFileFilter
File filter using AntPathMatcher.
| Constructor Summary | |
|---|---|
AntPathMatcherFileFilter()
|
|
| Method Summary | |
|---|---|
boolean |
accept(File pathname)
|
boolean |
acceptPathName(String path)
Accepts the given file by the path name |
String[] |
getExcludes()
|
String[] |
getIncludes()
|
boolean |
isCaseSensitive()
|
void |
setCaseSensitive(boolean caseSensitive)
Sets Whether or not pattern matching should be case sensitive 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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AntPathMatcherFileFilter()
| Method Detail |
|---|
public boolean accept(File pathname)
accept in interface FileFilterpublic boolean acceptPathName(String path)
path - the path
public boolean isCaseSensitive()
public void setCaseSensitive(boolean caseSensitive)
caseSensitive - false to disable case sensitive pattern matchingpublic 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 | |||||||||