Class SolsticeManifest


  • public class SolsticeManifest
    extends java.lang.Object
    Parses a jar manifest, removing some fine-grained details for the purpose of simplifying the developer experience.
    • optional imports and requirements are removed
    • version constraints are removed
    • Method Detail

      • parseJar

        public static SolsticeManifest parseJar​(java.io.File file)
                                         throws java.net.MalformedURLException
        Throws:
        java.net.MalformedURLException
      • getSymbolicName

        public java.lang.String getSymbolicName()
      • getVersion

        public org.osgi.framework.Version getVersion()
      • getJarUrl

        public java.lang.String getJarUrl()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • totalRequiredBundles

        public java.util.List<java.lang.String> totalRequiredBundles()
      • totalPkgImports

        public java.util.List<java.lang.String> totalPkgImports()
      • totalPkgExports

        public java.util.List<java.lang.String> totalPkgExports()
      • getHeadersOriginal

        public java.util.Map<java.lang.String,​java.lang.String> getHeadersOriginal()
        Returns the original headers, unmodified by our parsing.