public class ByteJarLoader extends ClassLoader implements Serializable
Constructor and Description |
---|
ByteJarLoader(File... files)
Constructor for the ByteLoader.
|
Modifier and Type | Method and Description |
---|---|
Class |
findClass(String className)
Lookup and return the Class with the given className.
|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public ByteJarLoader(File... files)
files
- An array of files, which are assumed to be jar-files, but they need not have the extension .jarpublic Class findClass(String className) throws ClassNotFoundException
findClass
in class ClassLoader
className
- The name of the class to lookupClassNotFoundException
- If the class could not be foundCopyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.