public class LibraryFinder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.nio.file.Path |
libsPath |
private static org.apache.logging.log4j.Logger |
LOGGER |
Constructor and Description |
---|
LibraryFinder() |
Modifier and Type | Method and Description |
---|---|
static java.nio.file.Path |
findJarPathFor(java.lang.String className,
java.lang.String jarName) |
static java.nio.file.Path |
findJarPathFor(java.lang.String resourceName,
java.lang.String jarName,
java.net.URL resource) |
(package private) static java.nio.file.Path |
findLibsPath() |
(package private) static java.nio.file.Path |
getForgeLibraryPath(java.lang.String mcVersion,
java.lang.String forgeVersion,
java.lang.String forgeGroup) |
(package private) static java.nio.file.Path[] |
getMCPaths(java.lang.String mcVersion,
java.lang.String mcpVersion,
java.lang.String forgeVersion,
java.lang.String forgeGroup,
java.lang.String type) |
(package private) static java.lang.String |
pathStatus(java.nio.file.Path path) |
private static final org.apache.logging.log4j.Logger LOGGER
private static java.nio.file.Path libsPath
static java.nio.file.Path findLibsPath()
public static java.nio.file.Path findJarPathFor(java.lang.String className, java.lang.String jarName)
public static java.nio.file.Path findJarPathFor(java.lang.String resourceName, java.lang.String jarName, java.net.URL resource)
static java.nio.file.Path getForgeLibraryPath(java.lang.String mcVersion, java.lang.String forgeVersion, java.lang.String forgeGroup)
static java.lang.String pathStatus(java.nio.file.Path path)
static java.nio.file.Path[] getMCPaths(java.lang.String mcVersion, java.lang.String mcpVersion, java.lang.String forgeVersion, java.lang.String forgeGroup, java.lang.String type)