public class ModClassLoader
extends java.net.URLClassLoader
Constructor and Description |
---|
ModClassLoader(java.lang.ClassLoader parent) |
Modifier and Type | Method and Description |
---|---|
void |
addFile(java.io.File modFile) |
ModAPITransformer |
addModAPITransformer(ASMDataTable dataTable) |
void |
clearNegativeCacheFor(java.util.Set<java.lang.String> classList) |
boolean |
containsSource(java.io.File source) |
java.util.List<java.lang.String> |
getDefaultLibraries() |
java.io.File[] |
getParentSources() |
boolean |
isDefaultLibrary(java.io.File file) |
java.lang.Class<?> |
loadClass(java.lang.String name) |
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 void addFile(java.io.File modFile) throws java.net.MalformedURLException
java.net.MalformedURLException
public java.lang.Class<?> loadClass(java.lang.String name) throws java.lang.ClassNotFoundException
loadClass
in class java.lang.ClassLoader
java.lang.ClassNotFoundException
public java.io.File[] getParentSources()
public java.util.List<java.lang.String> getDefaultLibraries()
public boolean isDefaultLibrary(java.io.File file)
public void clearNegativeCacheFor(java.util.Set<java.lang.String> classList)
public ModAPITransformer addModAPITransformer(ASMDataTable dataTable)
public boolean containsSource(java.io.File source)