public class OsgiManifest extends Object
Headers
and ManifestElement
which adds typed getters
and value caching for commonly used headers. This is a read-only API.Modifier and Type | Method and Description |
---|---|
String[] |
getBundleClasspath() |
String |
getBundleSymbolicName() |
String |
getBundleVersion() |
StandardExecutionEnvironment[] |
getExecutionEnvironments() |
org.eclipse.osgi.framework.util.Headers<String,String> |
getHeaders() |
org.eclipse.osgi.util.ManifestElement[] |
getManifestElements(String key) |
String |
getValue(String key) |
boolean |
isDirectoryShape()
Returns true if Eclipse-BundleShape header is set to dir.
|
ArtifactKey |
toArtifactKey()
Returns the bundle's key in the Eclipse artifact coordinate system.
|
public String getBundleSymbolicName()
public String getBundleVersion()
public ArtifactKey toArtifactKey()
public String[] getBundleClasspath()
public StandardExecutionEnvironment[] getExecutionEnvironments()
public boolean isDirectoryShape()
public org.eclipse.osgi.util.ManifestElement[] getManifestElements(String key) throws OsgiManifestParserException
OsgiManifestParserException
Copyright © 2008–2015 Eclipse Foundation. All rights reserved.