ch.jm.osgi.util.bundle 1.0.0

ch.jm.osgi.util.bundle
Class DescriptorParser

java.lang.Object
  extended by ch.jm.osgi.util.bundle.DescriptorParser
All Implemented Interfaces:
BundleConstants

public final class DescriptorParser
extends java.lang.Object
implements BundleConstants

This class is responsible for parsing bundle descriptors.


Field Summary
 
Fields inherited from interface ch.jm.osgi.util.bundle.BundleConstants
BUNDLE_ACTIVATOR, BUNDLE_CATEGORY, BUNDLE_CLASSPATH, BUNDLE_DESCRIPTION, BUNDLE_MANIFEST_VERSION, BUNDLE_NAME, BUNDLE_SYMBOLIC_NAME, BUNDLE_VERSION, EXPORT_PACKAGE, IMPORT_PACKAGE
 
Method Summary
static void parse(java.io.File f, BundleManifestBuilder builder)
          Parses a bundle descriptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

parse

public static void parse(java.io.File f,
                         BundleManifestBuilder builder)
                  throws java.io.IOException
Parses a bundle descriptor.

Parameters:
f - the bundle descriptor
builder - the manifest builder that receives information about the bundle
Throws:
java.io.IOException - if an I/O error occurs

ch.jm.osgi.util.bundle 1.0.0

Copyright 2009-2010 Jeremias M?rki. All Rights Reserved.