Skip to Content
Java Security
book

Java Security

by Scott Oaks
May 1998
Intermediate to advanced
469 pages
14h 57m
English
O'Reilly Media, Inc.
Content preview from Java Security

Name

Class java.lang.ClassLoader

Synopsis

This class is the basis for loading a class dynamically in Java. For historical reasons, it appears in this package, but it is recommended that all new class loaders subclass the SecureClassLoader class in the java.security package instead of using this class. Loading a class explicitly may be done with the loadClass() method of this class (though classes are usually simply loaded as needed).

Class Definition

public abstract class java.lang.ClassLoader extends java.lang.Object { // Constructors protected ClassLoader(); protected ClassLoader(ClassLoader); // Class Methods public static ClassLoader getSystemClassLoader(); public static URL getSystemResource(String); public static InputStream getSystemResourceAsStream(String); public static Enumeration getSystemResources(String); // Instance Methods public ClassLoader getParent(); public URL getResource(String); public InputStream getResourceAsStream(String); public final Enumeration getResources(String); public Class loadClass(String); // Protected Instance Methods protected final Class defineClass(String, byte[], int, int); protected final Class defineClass(byte[], int, int); protected final Class defineClass(String, byte[], int, int, ProtectionDomain); protected Package definePackage(String, String, String, String, String, String, String, URL); protected Class findClass(String); protected String findLibrary(String); protected final Class findLoadedClass(String); protected Class findLocalClass(String); ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java Security Handbook

Java Security Handbook

Jamie Jaworski, Paul J. Perrone, Venkata S.R. Krishna Chaganti

Publisher Resources

ISBN: 1565924037Supplemental ContentCatalog PageErrata