|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.discovery.jdk.JDKHooks
org.apache.commons.discovery.jdk.JDK11Hooks
public class JDK11Hooks
Constructor Summary | |
---|---|
JDK11Hooks()
|
Method Summary | |
---|---|
java.util.Enumeration |
getResources(java.lang.ClassLoader loader,
java.lang.String resourceName)
Implement ClassLoader.getResources for JDK 1.1 On JDK1.1 there is no getResources() method. |
java.lang.ClassLoader |
getSystemClassLoader()
The system class loader is available for JDK 1.2 or later, if certain security conditions are met. |
java.lang.String |
getSystemProperty(java.lang.String propName)
Get the system property |
java.lang.ClassLoader |
getThreadContextClassLoader()
The thread context class loader is available for JDK 1.2 or later, if certain security conditions are met. |
Methods inherited from class org.apache.commons.discovery.jdk.JDKHooks |
---|
getJDKHooks |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JDK11Hooks()
Method Detail |
---|
public java.lang.String getSystemProperty(java.lang.String propName)
getSystemProperty
in class JDKHooks
propName
- name of the property
public java.lang.ClassLoader getThreadContextClassLoader()
getThreadContextClassLoader
in class JDKHooks
public java.lang.ClassLoader getSystemClassLoader()
getSystemClassLoader
in class JDKHooks
public java.util.Enumeration getResources(java.lang.ClassLoader loader, java.lang.String resourceName) throws java.io.IOException
getResources
in class JDKHooks
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |