public class PluginClassLoaderUtils
extends java.lang.Object
PluginClassLoader. The constructor is marked as package-private
hence why this class is located in this exact package.| Modifier and Type | Method and Description |
|---|---|
static @NotNull org.bukkit.plugin.java.PluginClassLoader |
createPluginClassLoader(@NotNull org.bukkit.plugin.java.JavaPluginLoader loader,
@Nullable java.lang.ClassLoader parent,
@NotNull org.bukkit.plugin.PluginDescriptionFile description,
@NotNull java.io.File dataFolder,
@NotNull java.io.File file,
@NotNull java.lang.ClassLoader libraryLoader) |
@NotNull
public static @NotNull org.bukkit.plugin.java.PluginClassLoader createPluginClassLoader(@NotNull
@NotNull org.bukkit.plugin.java.JavaPluginLoader loader,
@Nullable
@Nullable java.lang.ClassLoader parent,
@NotNull
@NotNull org.bukkit.plugin.PluginDescriptionFile description,
@NotNull
@NotNull java.io.File dataFolder,
@NotNull
@NotNull java.io.File file,
@NotNull
@NotNull java.lang.ClassLoader libraryLoader)
throws java.io.IOException,
org.bukkit.plugin.InvalidPluginException,
java.net.MalformedURLException
java.io.IOExceptionorg.bukkit.plugin.InvalidPluginExceptionjava.net.MalformedURLException