net.sourceforge.mflow.impl
Class PluginClassLoader

java.lang.Object
  extended byjava.lang.ClassLoader
      extended byjava.security.SecureClassLoader
          extended byjava.net.URLClassLoader
              extended bynet.sourceforge.mflow.impl.PluginClassLoader

public class PluginClassLoader
extends java.net.URLClassLoader

Author:
carrd

Method Summary
 void addURLs(java.net.URL[] urls)
           
static java.lang.String classPathToName(java.lang.String classPath)
          Converts the path to a .class file to a class name
 
Methods inherited from class java.net.URLClassLoader
addURL, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, 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, 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
 

Method Detail

addURLs

public final void addURLs(java.net.URL[] urls)
Parameters:
urls - an array of URLs to add to the classloader

classPathToName

public static java.lang.String classPathToName(java.lang.String classPath)
Converts the path to a .class file to a class name

Parameters:
classPath - the path to a .class file
Returns:
a full class name, complete with package


Copyright © 2002-2004 MFlow Group. All Rights Reserved.