|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.util.LoaderUtils
ClassLoader utility methods
Constructor Summary | |
LoaderUtils()
|
Method Summary | |
static java.lang.ClassLoader |
getContextClassLoader()
JDK1.1 compatible access to set the context class loader. |
static boolean |
isContextLoaderAvailable()
Indicates if the context class loader methods are available |
static void |
setContextClassLoader(java.lang.ClassLoader loader)
JDK1.1 compatible access to get the context class loader. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LoaderUtils()
Method Detail |
public static void setContextClassLoader(java.lang.ClassLoader loader)
loader
- the ClassLoader to be used as the context class loader
on the current thread.public static java.lang.ClassLoader getContextClassLoader()
public static boolean isContextLoaderAvailable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |