public class JarVersionDetectionUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
detectJarVersion(java.lang.String detectionClass,
java.util.List<? extends VirtualFile> files) |
static java.lang.String |
detectJarVersion(java.lang.String detectionClass,
Module module) |
static java.lang.String |
getBundleVersion(java.io.File jar) |
static java.lang.String |
getImplementationVersion(java.io.File jar) |
static java.lang.String |
getMainAttribute(VirtualFile jarRoot,
java.util.jar.Attributes.Name attribute) |
public static java.lang.String detectJarVersion(java.lang.String detectionClass, Module module)
public static java.lang.String detectJarVersion(java.lang.String detectionClass, java.util.List<? extends VirtualFile> files)
public static java.lang.String getMainAttribute(VirtualFile jarRoot, java.util.jar.Attributes.Name attribute)
public static java.lang.String getBundleVersion(java.io.File jar)
public static java.lang.String getImplementationVersion(java.io.File jar)