net.sf.ant4eclipse.model.pdesupport.plugin
Class BundleManifestParser

java.lang.Object
  extended by net.sf.ant4eclipse.model.pdesupport.plugin.BundleManifestParser

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 Summary
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
 
Method Summary
 PluginDescriptor getPluginDescriptor()
           Returns the plugin descriptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundleManifestParser

public BundleManifestParser(PluginDescriptor pluginDescriptor,
                            java.io.File bundleManifest,
                            java.io.File pluginProperties)
                     throws FileParserException

Creates a new instance of type BundleManifestParser.

Parameters:
pluginDescriptor - the plugin descriptor to put the results in.
bundleManifest - the manifest file to parse.
Throws:
FileParserException

BundleManifestParser

public BundleManifestParser(PluginDescriptor pluginDescriptor,
                            java.util.jar.Manifest manifest,
                            java.util.Properties pluginProperties)
                     throws FileParserException
Creates a new instance of type BundleManifestParser

Parameters:
pluginDescriptor - the plugin descriptor to put the results in.
manifest - the manifest to parse.
Throws:
FileParserException
Method Detail

getPluginDescriptor

public PluginDescriptor getPluginDescriptor()

Returns the plugin descriptor.

Returns:
the plugin descriptor.