public class JDK11Hooks extends JDKHooks
| Constructor | Description |
|---|---|
JDK11Hooks() |
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
getJDKHookspublic java.lang.String getSystemProperty(java.lang.String propName)
getSystemProperty in class JDKHookspropName - name of the propertypublic java.lang.ClassLoader getThreadContextClassLoader()
getThreadContextClassLoader in class JDKHookspublic java.lang.ClassLoader getSystemClassLoader()
getSystemClassLoader in class JDKHookspublic java.util.Enumeration getResources(java.lang.ClassLoader loader,
java.lang.String resourceName)
throws java.io.IOException
getResources in class JDKHooksjava.io.IOExceptionCopyright (c) 2002 - Apache Software Foundation