Class ReflectiveJarRelocatorFacadeFactory
java.lang.Object
io.github.slimjar.relocation.facade.ReflectiveJarRelocatorFacadeFactory
- All Implemented Interfaces:
JarRelocatorFacadeFactory
public final class ReflectiveJarRelocatorFacadeFactory
extends Object
implements JarRelocatorFacadeFactory
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull JarRelocatorFacadeFactorycreate(@NotNull Path downloadPath, @NotNull Collection<Repository> repositories, @NotNull InjectableClassLoader classLoader) static JarRelocatorFacadeFactorycreate(Path downloadPath, Collection<Repository> repositories) @NotNull JarRelocatorFacadecreateFacade(@NotNull File input, @NotNull File output, @NotNull Collection<RelocationRule> relocationRules)
-
Method Details
-
createFacade
@NotNull public @NotNull JarRelocatorFacade createFacade(@NotNull @NotNull File input, @NotNull @NotNull File output, @NotNull @NotNull Collection<RelocationRule> relocationRules) - Specified by:
createFacadein interfaceJarRelocatorFacadeFactory
-
create
public static JarRelocatorFacadeFactory create(Path downloadPath, Collection<Repository> repositories) throws RelocatorException - Throws:
RelocatorException
-
create
@Contract("_, _, _ -> new") @NotNull public static @NotNull JarRelocatorFacadeFactory create(@NotNull @NotNull Path downloadPath, @NotNull @NotNull Collection<Repository> repositories, @NotNull @NotNull InjectableClassLoader classLoader) throws RelocatorException - Throws:
RelocatorException
-