Package fr.flowarg.flowupdater.versions
Class ModLoaderUtils
java.lang.Object
fr.flowarg.flowupdater.versions.ModLoaderUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull StringbuildJarUrl(String baseUrl, @NotNull String group, String artifact, String version) static @NotNull StringbuildJarUrl(String baseUrl, @NotNull String group, String artifact, String version, String classifier) static @NotNull PathbuildLibraryPath(@NotNull Path installDir, @NotNull String group, String artifact, String version) static voidfakeContext(@NotNull Path dirToInstall, String vanilla) static @NotNull List<ParsedLibrary>parseNewVersionInfo(Path installDir, @NotNull com.google.gson.JsonObject versionInfo) static voidremoveFakeContext(@NotNull Path dirToInstall)
-
Constructor Details
-
ModLoaderUtils
public ModLoaderUtils()
-
-
Method Details
-
buildJarUrl
-
buildJarUrl
-
buildLibraryPath
-
fakeContext
public static void fakeContext(@NotNull @NotNull Path dirToInstall, String vanilla) throws Exception - Throws:
Exception
-
removeFakeContext
- Throws:
Exception
-
parseNewVersionInfo
@NotNull public static @NotNull List<ParsedLibrary> parseNewVersionInfo(Path installDir, @NotNull @NotNull com.google.gson.JsonObject versionInfo) throws Exception - Throws:
Exception
-