public class MutableManifestElement extends Object
ManifestElement but supports changing value for attributes with
a single value.| Constructor and Description |
|---|
MutableManifestElement(String value,
Map<String,String> attributes,
Map<String,String> directives) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttribute(String key)
Returns the value for the specified attribute or
null if it does not exist. |
String |
getValue() |
static List<MutableManifestElement> |
parseHeader(String name,
String value) |
boolean |
setAttribute(String key,
String value)
Set the value for the specified attribute.
|
String |
toString() |
String |
write() |
public static List<MutableManifestElement> parseHeader(String name, String value) throws org.osgi.framework.BundleException
org.osgi.framework.BundleExceptionpublic String getValue()
ManifestElement.getValue()public boolean setAttribute(String key, String value)
key - value - public String getAttribute(String key)
null if it does not exist. If
the attribute has multiple values specified then the last value specified is returned.key - ManifestElement.getAttribute(String)public String write()
Copyright © 2008–2016 Eclipse Foundation. All rights reserved.