net.imagej.patcher
Class LegacyClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by java.security.SecureClassLoader
          extended by java.net.URLClassLoader
              extended by net.imagej.patcher.LegacyClassLoader

public class LegacyClassLoader
extends URLClassLoader

A special purpose class loader to encapsulate ImageJ 1.x "instances" from each other.

Author:
Johannes Schindelin
See Also:
LegacyEnvironment

Constructor Summary
LegacyClassLoader()
           
LegacyClassLoader(boolean headless)
           
 
Method Summary
 Class<?> findClass(String className)
           
 URL getResource(String name)
           
 
Methods inherited from class java.net.URLClassLoader
addURL, definePackage, 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, 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

LegacyClassLoader

public LegacyClassLoader(boolean headless)
                  throws ClassNotFoundException
Throws:
ClassNotFoundException

LegacyClassLoader

public LegacyClassLoader()
                  throws ClassNotFoundException
Throws:
ClassNotFoundException
Method Detail

getResource

public URL getResource(String name)
Overrides:
getResource in class ClassLoader

findClass

public Class<?> findClass(String className)
                   throws ClassNotFoundException
Overrides:
findClass in class URLClassLoader
Throws:
ClassNotFoundException


Copyright © 2009–2014 ImageJ. All rights reserved.