public class ClassFinderImpl extends Object implements ClassFinder
Constructor and Description |
---|
ClassFinderImpl() |
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.
|
public ArrayList<Class> getClassesFromJarFile(String pkg, ClassLoader cl) throws ClassNotFoundException
ClassFinder
getClassesFromJarFile
in interface ClassFinder
ClassNotFoundException
public void updateClassPath(String filePath, ClassLoader cl) throws Exception
ClassFinder
updateClassPath
in interface ClassFinder
Exception
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.