Closeable, AutoCloseablepublic final class PluginClassLoader extends URLClassLoader
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
protected Class<?> |
findClass(String name) |
|
JavaPlugin |
getPlugin() |
|
URL |
getResource(String name) |
|
Enumeration<URL> |
getResources(String name) |
|
String |
toString() |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignersclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdefineClass, defineClassaddURL, definePackage, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstancepublic JavaPlugin getPlugin()
public URL getResource(String name)
getResource in class ClassLoaderpublic Enumeration<URL> getResources(String name) throws IOException
getResources in class ClassLoaderIOExceptionprotected Class<?> findClass(String name) throws ClassNotFoundException
findClass in class URLClassLoaderClassNotFoundExceptionpublic void close()
throws IOException
close in interface AutoCloseableclose in interface Closeableclose in class URLClassLoaderIOExceptionCopyright © 2021. All rights reserved.