public class BundleManifestParser
extends java.lang.Object
Implements a parser to parse a bundle manifest. The bundle manifest has to comply with the OSGi Service Platform Core Specification, release 4.
| Constructor and Description |
|---|
BundleManifestParser(PluginDescriptor pluginDescriptor,
java.io.File bundleManifest,
java.io.File pluginProperties)
Creates a new instance of type BundleManifestParser.
|
BundleManifestParser(PluginDescriptor pluginDescriptor,
java.util.jar.Manifest manifest,
java.util.Properties pluginProperties)
Creates a new instance of type BundleManifestParser
|
| Modifier and Type | Method and Description |
|---|---|
PluginDescriptor |
getPluginDescriptor()
Returns the plugin descriptor.
|
public BundleManifestParser(PluginDescriptor pluginDescriptor, java.io.File bundleManifest, java.io.File pluginProperties) throws FileParserException
Creates a new instance of type BundleManifestParser.
pluginDescriptor - the plugin descriptor to put the results in.bundleManifest - the manifest file to parse.FileParserExceptionpublic BundleManifestParser(PluginDescriptor pluginDescriptor, java.util.jar.Manifest manifest, java.util.Properties pluginProperties) throws FileParserException
pluginDescriptor - the plugin descriptor to put the results in.manifest - the manifest to parse.FileParserExceptionpublic PluginDescriptor getPluginDescriptor()
Returns the plugin descriptor.