net.sf.mmapps.applications.developer.modules
Class DeveloperClassLoader

java.lang.Object
  extended byjava.lang.ClassLoader
      extended bynet.sf.mmapps.applications.developer.modules.DeveloperClassLoader

public class DeveloperClassLoader
extends java.lang.ClassLoader

minimalistic class loader for 1 jar

Author:
Kees Jongenburger

Constructor Summary
DeveloperClassLoader(java.util.jar.JarFile jarfile)
           
 
Method Summary
 java.net.URL getResource(java.lang.String name)
           
 java.io.InputStream getResourceAsStream(java.lang.String name)
           
 java.lang.Class loadClass(java.lang.String classname)
           
static void main(java.lang.String[] argv)
           
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, 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

DeveloperClassLoader

public DeveloperClassLoader(java.util.jar.JarFile jarfile)
Method Detail

loadClass

public java.lang.Class loadClass(java.lang.String classname)
                          throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException

getResource

public java.net.URL getResource(java.lang.String name)

getResourceAsStream

public java.io.InputStream getResourceAsStream(java.lang.String name)

main

public static void main(java.lang.String[] argv)
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2003-2004 SourceForge. All Rights Reserved.