org.apache.xbean.finder.filter
Class ExcludeIncludeFilter
java.lang.Object
org.apache.xbean.finder.filter.ExcludeIncludeFilter
- All Implemented Interfaces:
- Filter
public class ExcludeIncludeFilter
- extends Object
- implements Filter
First, all Exclude directives are evaluated; if any match, the className is denied unless it also matches an Include directive.
Any classNames which do not match any Include or Exclude directives are permitted.
ExcludeIncludeFilter
public ExcludeIncludeFilter(Filter include,
Filter exclude)
accept
public boolean accept(String name)
- Specified by:
accept in interface Filter
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.