|
|
|||||||||||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.utilities.InspectionUtil
public class InspectionUtil
A collection of inspection-related utility functions.
| Nested Class Summary | |
|---|---|
static class |
InspectionUtil.ClassSorter
Sort classes by their class name. |
(package private) static class |
InspectionUtil.DirClassIterator
Class to iterate over a directory tree. |
(package private) static class |
InspectionUtil.JarClassIterator
Class to iterate over a Jar file. |
| Field Summary | |
|---|---|
private static String[] |
DEFAULT_IGNORES
Default package ignores. |
static boolean |
NONSTATIC_CLASSPATH
If we have a non-static classpath, we do more extensive scanning for user extensions. |
| Constructor Summary | |
|---|---|
InspectionUtil()
|
|
| Method Summary | |
|---|---|
static List<Class<?>> |
findAllImplementations(Class<?> c,
boolean everything)
Find all implementations of a given class in the classpath. |
static List<Class<?>> |
findAllImplementations(String[] classpath,
Class<?> c,
String[] ignorepackages,
boolean everything)
Find all implementations of a given class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final String[] DEFAULT_IGNORES
public static final boolean NONSTATIC_CLASSPATH
| Constructor Detail |
|---|
public InspectionUtil()
| Method Detail |
|---|
public static List<Class<?>> findAllImplementations(Class<?> c,
boolean everything)
c - Class restrictioneverything - include interfaces, abstract and private classes
public static List<Class<?>> findAllImplementations(String[] classpath,
Class<?> c,
String[] ignorepackages,
boolean everything)
classpath - Classpath to use (JARs and folders supported)c - Class restrictionignorepackages - List of packages to ignoreeverything - include interfaces, abstract and private classes
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||