Package moe.caramel.daydream.plugin
Class DynamicURLClassLoader
java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
moe.caramel.daydream.plugin.DynamicURLClassLoader
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Direct Known Subclasses:
PluginClassLoader
동적으로 URL 클래스를 로더할 수 있는 클래스로더
-
Constructor Summary
ConstructorDescriptionDynamicURLClassLoader
(String name, URL[] urls, ClassLoader parent) DynamicURLClassLoader
(String name, URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory) DynamicURLClassLoader
(URL[] urls) DynamicURLClassLoader
(URL[] urls, ClassLoader parent) DynamicURLClassLoader
(URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
무엇을 하고 있는지 자세히 알고 있는 경우에만 사용하세요.Methods inherited from class java.net.URLClassLoader
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
Methods inherited from class java.security.SecureClassLoader
defineClass, defineClass
Methods inherited from class java.lang.ClassLoader
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, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
Constructor Details
-
DynamicURLClassLoader
-
DynamicURLClassLoader
-
DynamicURLClassLoader
-
DynamicURLClassLoader
-
DynamicURLClassLoader
public DynamicURLClassLoader(String name, URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory)
-
-
Method Details
-
addURLIfYouKnowWhatYouAreDoing
무엇을 하고 있는지 자세히 알고 있는 경우에만 사용하세요.- Parameters:
url
- the URL to be added to the search path of URLs
-