Class PackageClassFilter
- java.lang.Object
-
- org.zeroturnaround.javarebel.support.PackageClassFilter
-
- All Implemented Interfaces:
ClassFilter
public class PackageClassFilter extends Object implements ClassFilter
Filters the classes by matching them to a list of packages.- Author:
- Jevgeni Kabanov (ekabanov@zeroturnaround.com)
-
-
Constructor Summary
Constructors Constructor Description PackageClassFilter(String[] packages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmatches(ClassLoader cl, String className, Resource resource)Return true if the class matches the filter, false otherwise.
-
-
-
Constructor Detail
-
PackageClassFilter
public PackageClassFilter(String[] packages)
-
-
Method Detail
-
matches
public boolean matches(ClassLoader cl, String className, Resource resource)
Description copied from interface:ClassFilterReturn true if the class matches the filter, false otherwise.- Specified by:
matchesin interfaceClassFilter
-
-