org.xith3d.utility.classes
Class ClassSearcher

java.lang.Object
  extended by org.xith3d.utility.classes.ClassSearcher

public class ClassSearcher
extends java.lang.Object

The ClassSearcher provides utility methods to search classes.


Constructor Summary
ClassSearcher()
           
 
Method Summary
static java.util.List<java.lang.Class<?>> findClasses(java.lang.String[] packagePrefixes, ClassSearchCriterium crit)
          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
 

Constructor Detail

ClassSearcher

public ClassSearcher()
Method Detail

findClasses

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

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