bsh.classpath
Class DiscreteFilesClassLoader

java.lang.Object
  |
  +--java.lang.ClassLoader
        |
        +--java.security.SecureClassLoader
              |
              +--java.net.URLClassLoader
                    |
                    +--bsh.classpath.BshClassLoader
                          |
                          +--bsh.classpath.DiscreteFilesClassLoader

public class DiscreteFilesClassLoader
extends BshClassLoader


Nested Class Summary
static class DiscreteFilesClassLoader.ClassSourceMap
           
 
Field Summary
(package private)  DiscreteFilesClassLoader.ClassSourceMap map
          Map of class sources which also implies our coverage space.
 
Fields inherited from class java.net.URLClassLoader
 
Fields inherited from class java.security.SecureClassLoader
 
Fields inherited from class java.lang.ClassLoader
 
Constructor Summary
DiscreteFilesClassLoader(DiscreteFilesClassLoader.ClassSourceMap map)
           
 
Method Summary
 java.lang.Class findClass(java.lang.String name)
          Find the correct source for the class...
 java.lang.Class loadClassFromFile(java.io.File base, java.lang.String className)
           
 java.lang.String toString()
           
 
Methods inherited from class bsh.classpath.BshClassLoader
addURL, loadClass
 
Methods inherited from class java.net.URLClassLoader
definePackage, findResource, findResources, getPermissions, getURLs, newInstance, newInstance
 
Methods inherited from class java.security.SecureClassLoader
defineClass
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, 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, wait, wait, wait
 

Field Detail

map

DiscreteFilesClassLoader.ClassSourceMap map
Map of class sources which also implies our coverage space.

Constructor Detail

DiscreteFilesClassLoader

public DiscreteFilesClassLoader(DiscreteFilesClassLoader.ClassSourceMap map)
Method Detail

findClass

public java.lang.Class findClass(java.lang.String name)
                          throws java.lang.ClassNotFoundException
Description copied from class: BshClassLoader
Find the correct source for the class... Try designated loader if any Try our URLClassLoader paths if any Try base loader if any Try system ???

Overrides:
findClass in class BshClassLoader
java.lang.ClassNotFoundException

loadClassFromFile

public java.lang.Class loadClassFromFile(java.io.File base,
                                         java.lang.String className)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object