public class DirectoryLoader extends ClassLoader
| Constructor and Description |
|---|
DirectoryLoader(File rootDir)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
loadClass(String className)
Convenience version of loadClass which sets 'resolve' == true.
|
Class<?> |
loadClass(String className,
boolean resolve)
This is the required version of loadClass which is called
both from loadClass above and from the internal function
FindClassFromClass.
|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic DirectoryLoader(File rootDir)
public Class<?> loadClass(String className) throws ClassNotFoundException
loadClass in class ClassLoaderClassNotFoundExceptionpublic Class<?> loadClass(String className, boolean resolve) throws ClassNotFoundException
loadClass in class ClassLoaderClassNotFoundExceptionCopyright © 2017–2023 Eclipse Foundation. All rights reserved.