com.objectwave.customClassLoader
Class URLClassLoader

java.lang.Object
  |
  +--java.lang.ClassLoader
        |
        +--com.objectwave.customClassLoader.MultiClassLoader
              |
              +--com.objectwave.customClassLoader.URLClassLoader

public class URLClassLoader
extends MultiClassLoader

Version:
$Id: URLClassLoader.java,v 2.0 2001/06/11 15:54:25 dave_hoag Exp $
Author:
dhoag

Field Summary
 
Fields inherited from class com.objectwave.customClassLoader.MultiClassLoader
loadLocalClasses, monitorOn, sourceMonitorOn
 
Constructor Summary
URLClassLoader(java.lang.String urlString)
           
 
Method Summary
 java.lang.Object getContent(java.net.URL url)
          Every custom class loader will need to be able to get the content from a modified URL.
 java.io.InputStream getInputStream(java.net.URL url)
          Every custom class loader will need to be able to get the input stream from a modified URL.
protected  byte[] loadClassBytes(java.lang.String className)
          ---------- Abstract Implementation ---------------------
 
Methods inherited from class com.objectwave.customClassLoader.MultiClassLoader
findClass, formatClassName, getResource, getResourceAsStream, initPathInformation, loadClass, loadClass, loadLocalClassBytes, locateClass, lookForPreviousDefinitions, main, monitor, print, setClassNameReplacementChar, useLocalLoader
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLClassLoader

public URLClassLoader(java.lang.String urlString)
Parameters:
urlString -
Method Detail

getContent

public java.lang.Object getContent(java.net.URL url)
                            throws java.io.IOException
Every custom class loader will need to be able to get the content from a modified URL. This URL will have the protocol of CCLP

Specified by:
getContent in class MultiClassLoader
Parameters:
url -
Returns:
The Content value
Throws:
java.io.IOException

getInputStream

public java.io.InputStream getInputStream(java.net.URL url)
                                   throws java.io.IOException
Every custom class loader will need to be able to get the input stream from a modified URL. This URL will have the protocol of CCLP

Specified by:
getInputStream in class MultiClassLoader
Parameters:
url -
Returns:
The InputStream value
Throws:
java.io.IOException

loadClassBytes

protected byte[] loadClassBytes(java.lang.String className)
---------- Abstract Implementation ---------------------

Specified by:
loadClassBytes in class MultiClassLoader
Parameters:
className -
Returns: