Class ManifestUtils

java.lang.Object
gov.nasa.pds.registry.common.util.ManifestUtils

public class ManifestUtils extends Object
Utility class to work with Jar manifest files.
Author:
karpenko
  • Constructor Details

    • ManifestUtils

      public ManifestUtils()
  • Method Details

    • getAttributes

      public static Attributes 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.