JET

edu.utep.cs.jet.gui
Class AbstractClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by java.security.SecureClassLoader
          extended by java.net.URLClassLoader
              extended by edu.utep.cs.jet.gui.AbstractClassLoader
Direct Known Subclasses:
FileClassLoader

public class AbstractClassLoader
extends URLClassLoader

An abstract class loader that takes into account of the user-defined classpath.

Author:
Yoonsik Cheon

Constructor Summary
protected AbstractClassLoader()
          Creates a new loader.
 
Method Summary
protected  byte[] loadClassData(DataInputStream input)
          Reads bytes from the given data input stream.
 
Methods inherited from class java.net.URLClassLoader
addURL, definePackage, findClass, findResource, findResources, getPermissions, getURLs, newInstance, newInstance
 
Methods inherited from class java.security.SecureClassLoader
defineClass, defineClass
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, 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

AbstractClassLoader

protected AbstractClassLoader()
Creates a new loader.

Method Detail

loadClassData

protected byte[] loadClassData(DataInputStream input)
                        throws IOException
Reads bytes from the given data input stream. The read bytes are supposed to be bytecode.

Throws:
IOException

JET

JET is Copyright (C) 2005-2008 by The University of Texas at El Paso and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.