Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.gemini.blueprint.io.internal
Class OsgiHeaderUtils

    java.lang.Object
      org.eclipse.gemini.blueprint.io.internal.OsgiHeaderUtils

    public abstract class OsgiHeaderUtils

extends Object

Utility class for handling various header operations such as splitting a manifest header into packages or extracting the version from a certain entry.

Author:
  Costin Leau

Constructor Summary
`OsgiHeaderUtils()`

Method Summary
`static String[]` | `getBundleClassPath(org.osgi.framework.Bundle bundle)`
`static String[]` | `getRequireBundle(org.osgi.framework.Bundle bundle)`
`static String[]` | `parseRequiredBundleString(String entry)` Parses the required bundle entry to determine the bundle symbolic name and version.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### OsgiHeaderUtils

    public OsgiHeaderUtils()

Method Detail

### getBundleClassPath

    public static String[] getBundleClassPath(org.osgi.framework.Bundle bundle)

### getRequireBundle

    public static String[] getRequireBundle(org.osgi.framework.Bundle bundle)

### parseRequiredBundleString

    public static String[] parseRequiredBundleString(String entry)

  Parses the required bundle entry to determine the bundle symbolic name and version.

  Parameters:
    `string` - required bundle entry
  Returns:
    returns an array of strings with 2 entries, the first being the bundle sym name, the second the version (or 0.0.0 if nothing is specified).

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2012. All Rights Reserved.