org.jboss.errai.reflections.util
Class SimplePackageFilter
java.lang.Object
org.jboss.errai.reflections.util.SimplePackageFilter
public class SimplePackageFilter
- extends Object
A utility for matching simple package patterns to package names.
- Author:
- mbarkley
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimplePackageFilter
public SimplePackageFilter(Collection<String> filters)
- Parameters:
filters
- A collection of fully qualified class names or package patterns
(package names with subpackage globbing i.e. org.jboss.errai.* or
org.jboss.errai*).
matches
public boolean matches(String className)
- Parameters:
className
- The class name to be matched.
- Returns:
- True iff the class name matches a package filter.
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.