public class MappedObjectClassLoader
extends java.net.URLClassLoader
fork(java.lang.Class<?>, java.lang.String[])
method.Modifier and Type | Method and Description |
---|---|
static boolean |
fork(java.lang.Class<?> mainClass,
java.lang.String[] args)
Forks the specified class containing a main method, passing the specified arguments.
|
protected java.lang.Class<?> |
loadClass(java.lang.String name,
boolean resolve) |
protected java.lang.Class<?> |
loadMappedObject() |
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
public static boolean fork(java.lang.Class<?> mainClass, java.lang.String[] args)
org.lwjgl.test.mapped.TestMappedObject
for example usage.mainClass
- the class containing the main methodargs
- the arguments to passprotected java.lang.Class<?> loadMappedObject() throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
protected java.lang.Class<?> loadClass(java.lang.String name, boolean resolve) throws java.lang.ClassNotFoundException
loadClass
in class java.lang.ClassLoader
java.lang.ClassNotFoundException
Copyright © 2002-2009 lwjgl.org. All Rights Reserved.