public class DirectoryClassLoader extends URLClassLoader
| Constructor and Description |
|---|
DirectoryClassLoader(File dir,
ClassLoader parent)
Create a DirectoryClassLoader to load from jar files in
the specified directory, with the specified parent class loader.
|
DirectoryClassLoader(Set<File> jarsAndDirs,
ClassLoader parent) |
DirectoryClassLoader(String dir,
ClassLoader parent)
Create a DirectoryClassLoader to load from jar files in
the specified directory, with the specified parent class loader.
|
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstancedefineClass, defineClassclearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic DirectoryClassLoader(String dir, ClassLoader parent) throws IOException
dir - the directory of jar files to load fromparent - the parent class loaderIOException - if the directory can't be accessedpublic DirectoryClassLoader(Set<File> jarsAndDirs, ClassLoader parent) throws IOException
IOExceptionpublic DirectoryClassLoader(File dir, ClassLoader parent) throws IOException
dir - the directory of jar files to load fromparent - the parent class loaderIOException - if the directory can't be accessedCopyright © 2017–2020 Eclipse Foundation. All rights reserved.