Class ManifestAttribute
- java.lang.Object
-
- org.eclipse.tycho.versions.bundle.ManifestAttribute
-
public class ManifestAttribute extends Object
-
-
Constructor Summary
Constructors Constructor Description ManifestAttribute(String str)
ManifestAttribute(String name, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(String str)
String
getValue()
boolean
hasName(String name)
void
set(String name, String value)
void
set(String name, List<MutableManifestElement> manifestElements)
void
writeTo(Writer w, String lineTermination)
Writes the lines tow
using the given line termination chars.
-
-
-
Method Detail
-
add
public void add(String str)
-
writeTo
public void writeTo(Writer w, String lineTermination) throws IOException
Writes the lines tow
using the given line termination chars. There will be a trailing newline!- Throws:
IOException
-
hasName
public boolean hasName(String name)
-
getValue
public String getValue()
-
set
public void set(String name, List<MutableManifestElement> manifestElements)
-
-