Apache JMeter
2.0.1.20050615

org.apache.jorphan.reflect
Class ClassFinder

java.lang.Object
  extended byorg.apache.jorphan.reflect.ClassFinder

public final class ClassFinder
extends Object

This class finds classes that implement one or more specified interfaces.

Version:
$Revision: 1.9.2.1 $
Author:
Burt Beckwith, Michael Stover (mstover1 at apache.org)

Method Summary
static List findClassesThatExtend(String[] paths, Class[] superClasses)
          Convenience method for findClassesThatExtend(Class[], boolean) with the option to include inner classes in the search set to false.
static List findClassesThatExtend(String[] strPathsOrJars, Class[] superClasses, boolean innerClasses)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

findClassesThatExtend

public static List findClassesThatExtend(String[] paths,
                                         Class[] superClasses)
                                  throws IOException,
                                         ClassNotFoundException
Convenience method for findClassesThatExtend(Class[], boolean) with the option to include inner classes in the search set to false.

Returns:
ArrayList containing discovered classes.
Throws:
IOException
ClassNotFoundException

findClassesThatExtend

public static List findClassesThatExtend(String[] strPathsOrJars,
                                         Class[] superClasses,
                                         boolean innerClasses)
                                  throws IOException,
                                         ClassNotFoundException
Throws:
IOException
ClassNotFoundException

Apache JMeter
2.0.1.20050615

Copyright © 1998-2005 Apache Software Foundation. All Rights Reserved.