Class JarVersion
java.lang.Object
org.eclipse.jetty.start.JarVersion
Attempt to determine the version of the Jar File based on common version locations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static JarEntryprivate static StringgetBundleVersion(Manifest manifest) private static StringgetMainManifestImplVersion(Manifest manifest) private static StringgetMavenVersion(JarFile jar) private static StringgetSubManifestImplVersion(Manifest manifest) static StringgetVersion(File file) private static String
-
Constructor Details
-
JarVersion
public JarVersion()
-
-
Method Details
-
findEntry
-
getBundleVersion
-
getMainManifestImplVersion
-
getMavenVersion
- Throws:
IOException
-
getSubManifestImplVersion
-
getVersion
-
stripV
-