org.jagatoo.util.classes
Class ClassSearcher

java.lang.Object
  extended by org.jagatoo.util.classes.ClassSearcher

public class ClassSearcher
extends java.lang.Object

The ClassSearcher provides utility methods to search classes.


Method Summary
static java.util.List<java.lang.Class<?>> findClasses(ClassSearchCriterium crit, java.lang.String... packagePrefixes)
          Reads all classnames from given packages into a List, that match certrain criteria.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

findClasses

public static java.util.List<java.lang.Class<?>> findClasses(ClassSearchCriterium crit,
                                                             java.lang.String... packagePrefixes)
Reads all classnames from given packages into a List, that match certrain criteria.

Parameters:
crit - the Criterium to check for each class
packagePrefixes - dot separated package prefix names (like "org.xith3d.test")
Returns:
the filled up List