com.springsource.bundlor.util
Class BundleManifestUtils

java.lang.Object
  extended by com.springsource.bundlor.util.BundleManifestUtils

public final class BundleManifestUtils
extends java.lang.Object

Utilities for working with BundleManifests.

Concurrent Semantics
Threadsafe.

Author:
Rob Harrop

Constructor Summary
BundleManifestUtils()
           
 
Method Summary
static com.springsource.util.osgi.manifest.BundleManifest createBundleManifest(com.springsource.util.parser.manifest.ManifestContents manifest)
          Creates a BundleManifest from the supplied ManifestContents.
static com.springsource.util.parser.manifest.ManifestContents getManifest(java.io.File manifestFile)
           
static com.springsource.util.parser.manifest.ManifestContents getManifest(java.io.Reader reader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundleManifestUtils

public BundleManifestUtils()
Method Detail

createBundleManifest

public static com.springsource.util.osgi.manifest.BundleManifest createBundleManifest(com.springsource.util.parser.manifest.ManifestContents manifest)
Creates a BundleManifest from the supplied ManifestContents.

Parameters:
mf - the Manifest.
Returns:
the created BundleManifest.

getManifest

public static com.springsource.util.parser.manifest.ManifestContents getManifest(java.io.File manifestFile)

getManifest

public static com.springsource.util.parser.manifest.ManifestContents getManifest(java.io.Reader reader)