public abstract class OsgiHeader extends Object
Modifier and Type | Field and Description |
---|---|
static String |
APPLICATION |
static String |
PREINSTALL_BUNDLE |
static String |
PRIVILEGED_ACTIVATOR |
Constructor and Description |
---|
OsgiHeader() |
Modifier and Type | Method and Description |
---|---|
static List<String> |
asList(org.osgi.framework.Bundle bundle,
String headerName)
This method reads the named header from the manifest of the given bundle, and parses it as a comma-separated list
of values.
|
static boolean |
isSet(org.osgi.framework.Bundle bundle,
String headerName)
Returns true if the named header is present in the manifest of the given bundle.
|
public static final String APPLICATION
public static final String PREINSTALL_BUNDLE
public static final String PRIVILEGED_ACTIVATOR
public static boolean isSet(org.osgi.framework.Bundle bundle, String headerName)
bundle
- The bundle whose manifest to check.headerName
- The name of the header to check for.public static List<String> asList(org.osgi.framework.Bundle bundle, String headerName)
bundle
- The bundle whose manifest to parse the header from.headerName
- The name of the header to parse.Copyright © 2017. All rights reserved.