net.sf.gumshoe.indexer
Class FindClasses
java.lang.Object
net.sf.gumshoe.indexer.FindClasses
public class FindClasses
- extends java.lang.Object
- Author:
- Gabor
TODO To change the template for this generated type comment go to Window -
Preferences - Java - Code Style - Code Templates
Method Summary |
static java.util.List |
findClassesThatExtend(java.lang.Class superClass)
Convenience method that finds classes on the standard java classpath |
static java.util.List |
findClassesThatExtend(java.lang.String[] paths,
java.lang.Class[] superClasses)
Convenience method for findClassesThatExtend(Class[],
boolean)
with the option to include inner classes in the search set to false. |
static java.util.List |
findClassesThatExtend(java.lang.String[] strPathsOrJars,
java.lang.Class[] superClasses,
boolean innerClasses)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
findClassesThatExtend
public static java.util.List findClassesThatExtend(java.lang.Class superClass)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Convenience method that finds classes on the standard java classpath
- Parameters:
superClass
-
- Returns:
- a List of classes extending superClass
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
findClassesThatExtend
public static java.util.List findClassesThatExtend(java.lang.String[] paths,
java.lang.Class[] superClasses)
throws java.io.IOException,
java.lang.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:
java.io.IOException
java.lang.ClassNotFoundException
findClassesThatExtend
public static java.util.List findClassesThatExtend(java.lang.String[] strPathsOrJars,
java.lang.Class[] superClasses,
boolean innerClasses)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
Copyright © 2005 Gumshoe Desktop Search Developers. All Rights Reserved.