com.liferay.portal.kernel.util
Class ClassUtil
java.lang.Object
com.liferay.portal.kernel.util.ClassUtil
public class ClassUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassUtil
public ClassUtil()
getClasses
public static Set<String> getClasses(File file)
throws IOException
- Throws:
IOException
getClasses
public static Set<String> getClasses(Reader reader,
String className)
throws IOException
- Throws:
IOException
getClassName
public static String getClassName(Object object)
getParentPath
public static String getParentPath(ClassLoader classLoader,
String className)
isSubclass
public static boolean isSubclass(Class<?> a,
Class<?> b)
isSubclass
public static boolean isSubclass(Class<?> a,
String s)