| Modifier and Type | Class and Description |
|---|---|
class |
MergeableManifest.OrderAwareAttributes |
| Modifier and Type | Field and Description |
|---|---|
static Attributes.Name |
BUNDLE_ACTIVATION_POLICY |
static Attributes.Name |
BUNDLE_ACTIVATOR |
static Attributes.Name |
BUNDLE_CLASSPATH |
static Attributes.Name |
BUNDLE_LOCALIZATION |
static Attributes.Name |
BUNDLE_NAME |
static Attributes.Name |
BUNDLE_REQUIRED_EXECUTION_ENV |
static Attributes.Name |
BUNDLE_SYMBOLIC_NAME |
static Attributes.Name |
BUNDLE_VENDOR |
static Attributes.Name |
BUNDLE_VERSION |
static Attributes.Name |
EXPORT_PACKAGE |
static Attributes.Name |
IMPORT_PACKAGE |
static Attributes.Name |
REQUIRE_BUNDLE |
| Constructor and Description |
|---|
MergeableManifest(InputStream in) |
MergeableManifest(InputStream in,
String projectName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addExportedPackages(Set<String> packages)
adds the qualified names to the export-package attribute, if not already
present.
|
void |
addImportedPackages(Set<String> packages) |
void |
addRequiredBundles(Set<String> bundles)
adds the qualified names to the require-bundle attribute, if not already
present.
|
protected static Pair<String,String> |
getSplitEntry(String entry) |
boolean |
isModified() |
static String |
mergeIntoCommaSeparatedList(String currentString,
Set<String> toMergeIn,
Wrapper<Boolean> modified) |
protected static String[] |
splitQuoteAware(String string) |
void |
write(OutputStream out) |
clear, clone, equals, getAttributes, getEntries, getMainAttributes, hashCode, readpublic static final Attributes.Name BUNDLE_NAME
public static final Attributes.Name BUNDLE_SYMBOLIC_NAME
public static final Attributes.Name BUNDLE_VERSION
public static final Attributes.Name BUNDLE_CLASSPATH
public static final Attributes.Name BUNDLE_VENDOR
public static final Attributes.Name BUNDLE_REQUIRED_EXECUTION_ENV
public static final Attributes.Name EXPORT_PACKAGE
public static final Attributes.Name IMPORT_PACKAGE
public static final Attributes.Name REQUIRE_BUNDLE
public static final Attributes.Name BUNDLE_ACTIVATION_POLICY
public static final Attributes.Name BUNDLE_LOCALIZATION
public static final Attributes.Name BUNDLE_ACTIVATOR
public MergeableManifest(InputStream in) throws IOException
IOExceptionpublic MergeableManifest(InputStream in, String projectName) throws IOException
IOExceptionpublic void addRequiredBundles(Set<String> bundles)
bundles - - passing parameterized bundled (e.g. versions, etc.) is not supportedpublic boolean isModified()
public void write(OutputStream out) throws IOException
write in class ManifestIOExceptionpublic void addExportedPackages(Set<String> packages)
packages - - passing parameterized packages is not supportedpublic static String mergeIntoCommaSeparatedList(String currentString, Set<String> toMergeIn, Wrapper<Boolean> modified)
Copyright © 2015. All Rights Reserved.