|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.quartzdesk.api.ApiDebug
public final class ApiDebug
Various debugging utility methods.
| Method Summary | |
|---|---|
static String |
getClassInfo(Class<?> clazz)
Returns detailed info about the given class such as its name, interfaces, code source, and class loader. |
static String |
getClassLoaderInfo(ClassLoader cl)
Dumps out info on the specified class loader. |
static URL[] |
getClassLoaderURLs(ClassLoader cl)
Use reflection to access a URL[] getURLs or ULR[] getAllURLs method so that non-URLClassLoader class loaders, or class loaders that override getURLs to return null or empty, can provide the true classpath info. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String getClassInfo(Class<?> clazz)
clazz - the class.
public static String getClassLoaderInfo(ClassLoader cl)
cl - a class loader.
public static URL[] getClassLoaderURLs(ClassLoader cl)
cl - a class loader.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||