public class ClassFinder extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
private static String |
classPath |
private static int |
classPathCharLength |
private static ClassLoader |
currentClassLoader |
| 限定符 | 构造器和说明 |
|---|---|
private |
ClassFinder() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
lookup(String packageName,
boolean recursive,
Handler handler) |
private static void |
lookupFromJar(String jarPath,
boolean recursive,
Handler handler)
Lookup from your jar files
|
private static void |
lookupFromProject(String filePath,
boolean recursive,
Handler handler)
Lookup from your project files
|
static void |
main(String[] args) |
private static final ClassLoader currentClassLoader
private static final String classPath
private static final int classPathCharLength
public static void lookup(String packageName, boolean recursive, Handler handler) throws IOException
IOExceptionprivate static void lookupFromProject(String filePath, boolean recursive, Handler handler)
filePath - recursive - handler - private static void lookupFromJar(String jarPath, boolean recursive, Handler handler) throws IOException
jarPath - recursive - handler - IOExceptionCopyright © 2020. All rights reserved.