public class ClassUtils extends Object
Constructor and Description |
---|
ClassUtils() |
Modifier and Type | Method and Description |
---|---|
static List<Class> |
getClassesForPackage(String pckgname)
Attempts to list all the classes in the specified package as determined
by the context class loader
|
static List<Class> |
getClassessOfInterface(String thePackage,
Class theInterface) |
public static List<Class> getClassesForPackage(String pckgname) throws ClassNotFoundException
pckgname
- the package name to searchClassNotFoundException
- if something went wrongCopyright © 2014 Apache Software Foundation. All Rights Reserved.