001: package java.lang;
002:
003: import java.io.IOException;
004: import java.io.InputStream;
005: import java.net.URL;
006: import java.security.CodeSource;
007: import java.security.PermissionCollection;
008: import java.security.Policy;
009: import java.security.ProtectionDomain;
010: import java.util.Enumeration;
011: import java.util.HashMap;
012: import java.util.Map;
013:
014: public abstract class ClassLoader {
015: final Map loadedClasses = new HashMap();
016: final Map definedPackages = new HashMap();
017: static final ClassLoader systemClassLoader;
018: static final ProtectionDomain defaultProtectionDomain;
019: static {
020: }
021: boolean defaultAssertionStatus;
022: static final Map systemPackageAssertionStatus;
023: Map packageAssertionStatus;
024: static final Map systemClassAssertionStatus;
025: Map classAssertionStatus;
026:
027: protected ClassLoader() throws SecurityException {
028: }
029:
030: protected ClassLoader(ClassLoader parent) {
031: }
032:
033: public Class loadClass(String name) throws ClassNotFoundException {
034: }
035:
036: protected synchronized Class loadClass(String name, boolean resolve)
037: throws ClassNotFoundException {
038: }
039:
040: protected Class findClass(String name)
041: throws ClassNotFoundException {
042: }
043:
044: protected final Class defineClass(byte[] data, int offset, int len)
045: throws ClassFormatError {
046: }
047:
048: protected final Class defineClass(String name, byte[] data,
049: int offset, int len) throws ClassFormatError {
050: }
051:
052: protected final synchronized Class defineClass(String name,
053: byte[] data, int offset, int len, ProtectionDomain domain)
054: throws ClassFormatError {
055: }
056:
057: protected final void resolveClass(Class c) {
058: }
059:
060: protected final Class findSystemClass(String name)
061: throws ClassNotFoundException {
062: }
063:
064: public final ClassLoader getParent() {
065: }
066:
067: protected final void setSigners(Class c, Object[] signers) {
068: }
069:
070: protected final synchronized Class findLoadedClass(String name) {
071: }
072:
073: public URL getResource(String name) {
074: }
075:
076: public final Enumeration getResources(String name)
077: throws IOException {
078: }
079:
080: protected Enumeration findResources(String name) throws IOException {
081: }
082:
083: protected URL findResource(String name) {
084: }
085:
086: public static final URL getSystemResource(String name) {
087: }
088:
089: public static Enumeration getSystemResources(String name)
090: throws IOException {
091: }
092:
093: public InputStream getResourceAsStream(String name) {
094: }
095:
096: public static final InputStream getSystemResourceAsStream(
097: String name) {
098: }
099:
100: public static ClassLoader getSystemClassLoader() {
101: }
102:
103: protected Package definePackage(String name, String specTitle,
104: String specVendor, String specVersion, String implTitle,
105: String implVendor, String implVersion, URL sealed) {
106: }
107:
108: protected Package getPackage(String name) {
109: }
110:
111: protected Package[] getPackages() {
112: }
113:
114: protected String findLibrary(String name) {
115: }
116:
117: public void setDefaultAssertionStatus(boolean enabled) {
118: }
119:
120: public synchronized void setPackageAssertionStatus(String name,
121: boolean enabled) {
122: }
123:
124: public synchronized void setClassAssertionStatus(String name,
125: boolean enabled) {
126: }
127:
128: public synchronized void clearAssertionStatus() {
129: }
130:
131: final boolean isAncestorOf(ClassLoader loader) {
132: }
133: }
|