public class ClassUtil extends Object
| Constructor and Description |
|---|
ClassUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Class<T> |
classForName(String className) |
static List<String> |
findMainClasses(File rootDir)
Find all classes below a certain directory which contain
main() classes
|
static Set<String> |
getResources(String resource) |
public static Set<String> getResources(String resource) throws IOException
IOExceptionpublic static List<String> findMainClasses(File rootDir) throws IOException
rootDir - the directory to start fromIOException - if something goes wrongCopyright © 2016. All rights reserved.