public class ClassUtil
extends Object
Constructor and Description |
---|
ClassUtil() |
Modifier and Type | Method and Description |
---|---|
static Set<String> |
getClasses(File file) |
static Set<String> |
getClasses(Reader reader,
String className) |
static String |
getClassName(Object object) |
static String |
getParentPath(ClassLoader classLoader,
String className) |
static boolean |
isSubclass(Class<?> a,
Class<?> b) |
static boolean |
isSubclass(Class<?> a,
String s) |
public static Set<String> getClasses(File file) throws IOException
IOException
public static Set<String> getClasses(Reader reader, String className) throws IOException
IOException
public static String getClassName(Object object)
public static String getParentPath(ClassLoader classLoader, String className)
public static boolean isSubclass(Class<?> a, Class<?> b)
public static boolean isSubclass(Class<?> a, String s)