Class ManifestUtils
java.lang.Object
gov.nasa.pds.registry.common.util.ManifestUtils
Utility class to work with Jar manifest files.
- Author:
- karpenko
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributesGet manifest attributes from the manifest of a JAR this class is in.
-
Constructor Details
-
ManifestUtils
public ManifestUtils()
-
-
Method Details
-
getAttributes
Get manifest attributes from the manifest of a JAR this class is in. If this class is not in a JAR, e.g., this code is ran from Eclipse, return null.- Returns:
- Manifest attributes or null.
-