Package org.apache.xbean.finder.filter
Class IncludeExcludeFilter
- java.lang.Object
-
- org.apache.xbean.finder.filter.IncludeExcludeFilter
-
- All Implemented Interfaces:
Filter
public class IncludeExcludeFilter extends java.lang.Object implements Filter
First, all Include directives are evaluated; at least one must match, or the className is rejected. Next, all Exclude directives are evaluated. If any matches, the className is rejected. Last, any classNames which do not match an Include or a Exclude directive are denied by default.
-
-
Constructor Summary
Constructors Constructor Description IncludeExcludeFilter(Filter include, Filter exclude)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(java.lang.String name)
java.lang.String
toString()
-