Package org.apache.camel.component.file
Class AntFilter
java.lang.Object
org.apache.camel.component.file.AntFilter
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanString[]String[]booleanvoidsetCaseSensitive(boolean caseSensitive) Sets case sensitive flag onAntPathMatcherFileFiltervoidsetExcludes(String excludes) Sets excludes using a single string where each element can be separated with commavoidsetExcludes(String[] excludes) voidsetIncludes(String includes) Sets includes using a single string where each element can be separated with commavoidsetIncludes(String[] includes)
-
Constructor Details
-
AntFilter
public AntFilter() -
AntFilter
-
-
Method Details
-
accept
-
getExcludes
-
setExcludes
-
getIncludes
-
setIncludes
-
setExcludes
Sets excludes using a single string where each element can be separated with comma -
setIncludes
Sets includes using a single string where each element can be separated with comma -
setCaseSensitive
public void setCaseSensitive(boolean caseSensitive) Sets case sensitive flag onAntPathMatcherFileFilterIs by default turned on true. -
isCaseSensitive
public boolean isCaseSensitive()
-