类 HookToolkit
- java.lang.Object
-
- cn.mcres.karlatemp.mxlib.common.plugin_class_definer.HookToolkit
-
public class HookToolkit extends Object
-
-
构造器概要
构造器 构造器 说明 HookToolkit()
-
方法概要
修饰符和类型 方法 说明 static URL
openHook(@NotNull HookedJarURLStreamHandler handler)
static URL
openHook(@NotNull JarFile jar)
static URL
openHook(String protocol, @NotNull HookedJarURLStreamHandler handler)
static URL
openHook(String protocol, @NotNull JarFile jar)
static void
replace(@NotNull URLClassLoader uLoader, @NotNull URL old, @NotNull URL base, @NotNull JarFile hook)
-
-
-
方法详细资料
-
openHook
public static URL openHook(@NotNull @NotNull HookedJarURLStreamHandler handler)
-
openHook
public static URL openHook(String protocol, @NotNull @NotNull HookedJarURLStreamHandler handler)
-
replace
public static void replace(@NotNull @NotNull URLClassLoader uLoader, @NotNull @NotNull URL old, @NotNull @NotNull URL base, @NotNull @NotNull JarFile hook)
-
-