- java.lang.Object
-
- jakarta.activation.SecuritySupport
-
class SecuritySupport extends java.lang.ObjectSecurity related methods that only work on J2SE 1.2 and newer.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateSecuritySupport()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.ClassLoadergetContextClassLoader()static java.io.InputStreamgetResourceAsStream(java.lang.Class<?> c, java.lang.String name)static java.net.URL[]getResources(java.lang.ClassLoader cl, java.lang.String name)static java.net.URL[]getSystemResources(java.lang.String name)static java.io.InputStreamopenStream(java.net.URL url)
-
-
-
Method Detail
-
getContextClassLoader
public static java.lang.ClassLoader getContextClassLoader()
-
getResourceAsStream
public static java.io.InputStream getResourceAsStream(java.lang.Class<?> c, java.lang.String name) throws java.io.IOException- Throws:
java.io.IOException
-
getResources
public static java.net.URL[] getResources(java.lang.ClassLoader cl, java.lang.String name)
-
getSystemResources
public static java.net.URL[] getSystemResources(java.lang.String name)
-
openStream
public static java.io.InputStream openStream(java.net.URL url) throws java.io.IOException- Throws:
java.io.IOException
-
-