Class 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accept​(java.lang.String name)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • IncludeExcludeFilter

        public IncludeExcludeFilter​(Filter include,
                                    Filter exclude)
    • Method Detail

      • accept

        public boolean accept​(java.lang.String name)
        Specified by:
        accept in interface Filter
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object