Closeable, AutoCloseablepublic class MappedObjectClassLoader extends URLClassLoader
fork(java.lang.Class<?>, java.lang.String[]) method.| Modifier and Type | Method | Description |
|---|---|---|
static boolean |
fork(Class<?> mainClass,
String[] args) |
Forks the specified class containing a main method, passing the specified arguments.
|
protected Class<?> |
loadClass(String name,
boolean resolve) |
|
protected Class<?> |
loadMappedObject() |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdefineClass, defineClassaddURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstancepublic static boolean fork(Class<?> mainClass, String[] args)
org.lwjgl.test.mapped.TestMappedObject for example usage.mainClass - the class containing the main methodargs - the arguments to passprotected Class<?> loadMappedObject() throws ClassNotFoundException
ClassNotFoundExceptionprotected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException
loadClass in class ClassLoaderClassNotFoundExceptionCopyright © 2002-2009 lwjgl.org. All Rights Reserved.