public interface ClassFinder
Modifier and Type | Method and Description |
---|---|
ArrayList<Class> |
getClassesFromJarFile(String pkg,
ClassLoader cl)
This method reads all the classes from given package in a jar file.
|
void |
updateClassPath(String filePath,
ClassLoader cl)
This method will be used to add addition paths to existing classpath.
|
ArrayList<Class> getClassesFromJarFile(String pkg, ClassLoader cl) throws ClassNotFoundException
pkg
- cl
- ClassNotFoundException
void updateClassPath(String filePath, ClassLoader cl) throws Exception
filePath:
- path of the location where wrapper classes may be stored.
example a cache folder.cl
- Exception
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.