Liferay 6.1.2-ce-ga3

com.liferay.portal.kernel.util
Class ClassUtil

java.lang.Object
  extended by com.liferay.portal.kernel.util.ClassUtil

public class ClassUtil
extends Object


Constructor Summary
ClassUtil()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassUtil

public ClassUtil()
Method Detail

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)

Liferay 6.1.2-ce-ga3