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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OsgiHeaderUtils
public OsgiHeaderUtils()
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).
Copyright © 2006-2013. All Rights Reserved.