org.apache.tomee.loader.filter
Class ExcludeIncludeFilter

java.lang.Object
  extended by org.apache.tomee.loader.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.


Constructor Summary
ExcludeIncludeFilter(Filter include, Filter exclude)
           
 
Method Summary
 boolean accept(String name)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExcludeIncludeFilter

public ExcludeIncludeFilter(Filter include,
                            Filter exclude)
Method Detail

accept

public boolean accept(String name)
Specified by:
accept in interface Filter

toString

public String toString()
Overrides:
toString in class Object


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.