Package net.minecraftforge.fml.loading
Class JarVersionLookupHandler
- java.lang.Object
-
- net.minecraftforge.fml.loading.JarVersionLookupHandler
-
public class JarVersionLookupHandler extends java.lang.Object
Finds Version data from a package, with possible default values
-
-
Constructor Summary
Constructors Constructor Description JarVersionLookupHandler()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Optional<java.lang.String>
getImplementationTitle(java.lang.Class<?> clazz)
static java.util.Optional<java.lang.String>
getImplementationVersion(java.lang.Class<?> clazz)
static java.util.Optional<java.lang.String>
getImplementationVersion(java.lang.String pkgName)
static java.util.Optional<java.lang.String>
getSpecificationVersion(java.lang.Class<?> clazz)
static java.util.Optional<java.lang.String>
getSpecificationVersion(java.lang.String pkgName)
-
-
-
Method Detail
-
getImplementationVersion
public static java.util.Optional<java.lang.String> getImplementationVersion(java.lang.String pkgName)
-
getSpecificationVersion
public static java.util.Optional<java.lang.String> getSpecificationVersion(java.lang.String pkgName)
-
getImplementationVersion
public static java.util.Optional<java.lang.String> getImplementationVersion(java.lang.Class<?> clazz)
-
getImplementationTitle
public static java.util.Optional<java.lang.String> getImplementationTitle(java.lang.Class<?> clazz)
-
getSpecificationVersion
public static java.util.Optional<java.lang.String> getSpecificationVersion(java.lang.Class<?> clazz)
-
-