Errai 3.0.1-SNAPSHOT

org.jboss.errai.reflections.util
Class SimplePackageFilter

java.lang.Object
  extended by org.jboss.errai.reflections.util.SimplePackageFilter

public class SimplePackageFilter
extends Object

A utility for matching simple package patterns to package names.

Author:
mbarkley

Constructor Summary
SimplePackageFilter(Collection<String> filters)
           
 
Method Summary
 boolean matches(String className)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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*).
Method Detail

matches

public boolean matches(String className)
Parameters:
className - The class name to be matched.
Returns:
True iff the class name matches a package filter.

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.