Package org.apache.ivy.osgi.core
Class ManifestHeaderValue
- java.lang.Object
-
- org.apache.ivy.osgi.core.ManifestHeaderValue
-
public class ManifestHeaderValue extends java.lang.Object
Parse a header of a manifest. The manifest header is composed with the following rules:header ::= header-element (',' header-element)* header-element ::= values (';' (attribute | directive) )* values ::= value (';' value)* value ::= <any string value that does not have ';' or ','> attribute ::= key '=' value directive ::= key '=' value key ::= token value ::= token | quoted-string | double-quoted-string
-
-
Constructor Summary
Constructors Constructor Description ManifestHeaderValue(java.lang.String header)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.List
getElements()
java.lang.String
getSingleValue()
java.util.List
getValues()
java.lang.String
toString()
static void
writeParseException(java.io.PrintStream out, java.lang.String source, java.text.ParseException e)
-
-
-
Method Detail
-
getElements
public java.util.List getElements()
-
getSingleValue
public java.lang.String getSingleValue()
-
getValues
public java.util.List getValues()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
writeParseException
public static void writeParseException(java.io.PrintStream out, java.lang.String source, java.text.ParseException e)
-
-