public class FilesystemClassLoader extends ClassLoader implements MultipleClassLoader
| Constructor and Description |
|---|
FilesystemClassLoader(File file) |
FilesystemClassLoader(File file,
ClassLoader parent) |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
findClass(String className)
Find class
|
String |
getMainClassName()
Get main class name
|
InputStream |
getResourceAsStream(String name)
Get resource input stream
|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic FilesystemClassLoader(File file) throws IOException
IOExceptionpublic FilesystemClassLoader(File file, ClassLoader parent) throws IOException
IOExceptionpublic String getMainClassName() throws IOException
getMainClassName in interface MultipleClassLoaderIOExceptionpublic Class<?> findClass(String className)
findClass in class ClassLoaderpublic InputStream getResourceAsStream(String name)
getResourceAsStream in class ClassLoaderCopyright © 2017 Open Knowledge Management System S.L.. All rights reserved.