Package org.scijava.util
Class Manifest
- java.lang.Object
-
- org.scijava.util.Manifest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringget(String key)Map<Object,Object>getAll()StringgetArchiverVersion()StringgetBuildJdk()StringgetBuiltBy()StringgetCreatedBy()StringgetImplementationBuild()StringgetImplementationDate()StringgetImplementationTitle()StringgetImplementationVendor()StringgetImplementationVendorId()StringgetImplementationVersion()static ManifestgetManifest(File jarFile)Gets the JAR manifest associated with the given JAR file.static ManifestgetManifest(Class<?> c)Gets the JAR manifest associated with the given class.static ManifestgetManifest(XML xml)Gets the JAR manifest associated with the given XML document.StringgetManifestVersion()StringgetPackage()StringgetSpecificationTitle()StringgetSpecificationVendor()StringgetSpecificationVersion()StringgetVersion()Gets the version of the object.
-
-
-
Method Detail
-
getArchiverVersion
public String getArchiverVersion()
-
getBuildJdk
public String getBuildJdk()
-
getBuiltBy
public String getBuiltBy()
-
getCreatedBy
public String getCreatedBy()
-
getImplementationBuild
public String getImplementationBuild()
-
getImplementationDate
public String getImplementationDate()
-
getImplementationTitle
public String getImplementationTitle()
-
getImplementationVendor
public String getImplementationVendor()
-
getImplementationVendorId
public String getImplementationVendorId()
-
getImplementationVersion
public String getImplementationVersion()
-
getManifestVersion
public String getManifestVersion()
-
getPackage
public String getPackage()
-
getSpecificationTitle
public String getSpecificationTitle()
-
getSpecificationVendor
public String getSpecificationVendor()
-
getSpecificationVersion
public String getSpecificationVersion()
-
getManifest
public static Manifest getManifest(Class<?> c)
Gets the JAR manifest associated with the given class.
-
getManifest
public static Manifest getManifest(XML xml) throws IOException
Gets the JAR manifest associated with the given XML document. Assumes the XML document was loaded as a resource from inside a JAR.- Throws:
IOException
-
getManifest
public static Manifest getManifest(File jarFile) throws IOException
Gets the JAR manifest associated with the given JAR file.- Throws:
IOException
-
getVersion
public String getVersion()
Description copied from interface:VersionedGets the version of the object.- Specified by:
getVersionin interfaceVersioned
-
-