Class OsgiManifest


  • public class OsgiManifest
    extends Object
    Convenience wrapper around Headers and ManifestElement which adds typed getters and value caching for commonly used headers. This is a read-only API.
    • Method Detail

      • getHeaders

        public org.eclipse.osgi.framework.util.Headers<String,​String> getHeaders()
      • getBundleSymbolicName

        public String getBundleSymbolicName()
      • getBundleVersion

        public String getBundleVersion()
      • toArtifactKey

        public ArtifactKey toArtifactKey()
        Returns the bundle's key in the Eclipse artifact coordinate system.
      • getBundleClasspath

        public String[] getBundleClasspath()
      • isDirectoryShape

        public boolean isDirectoryShape()
        Returns true if Eclipse-BundleShape header is set to dir. http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/misc/ bundle_manifest.html http://eclipsesource.com/blogs/2009/01/20/tip-eclipse-bundleshape/