net.sf.tlc.loader
Class TlcClassLoader

java.lang.Object
  extended byjava.lang.ClassLoader
      extended byjava.security.SecureClassLoader
          extended byjava.net.URLClassLoader
              extended bynet.sf.tlc.loader.TlcClassLoader

public class TlcClassLoader
extends java.net.URLClassLoader

The top level ClassLoader for TheLittleContainer. TlcClassLoader is basically just a thin-wrapper around an internal URLClassLoader that does the actual work of loading classes.

Author:
aisrael

Constructor Summary
TlcClassLoader(java.io.File targetDir)
           
TlcClassLoader(java.lang.String targetPath)
           
 
Method Summary
 java.lang.Class loadClass(java.lang.String className)
          (non-Javadoc)
 
Methods inherited from class java.net.URLClassLoader
addURL, definePackage, findClass, 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, toString, wait, wait, wait
 

Constructor Detail

TlcClassLoader

public TlcClassLoader(java.io.File targetDir)
Parameters:
targetDir - File

TlcClassLoader

public TlcClassLoader(java.lang.String targetPath)
Parameters:
targetPath - String
Method Detail

loadClass

public final java.lang.Class loadClass(java.lang.String className)
                                throws java.lang.ClassNotFoundException
(non-Javadoc)

Throws:
java.lang.ClassNotFoundException
See Also:
ClassLoader.loadClass(java.lang.String)


Copyright © 2005 TheLittleContainer. All Rights Reserved.