Package aQute.bnd.header
Class OSGiHeader
java.lang.Object
aQute.bnd.header.OSGiHeader
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ParametersparseHeader(String value) static ParametersparseHeader(String value, aQute.service.reporter.Reporter logger) Standard OSGi header parser.static ParametersparseHeader(String value, aQute.service.reporter.Reporter logger, Parameters result) static AttrsparseProperties(String input) static AttrsparseProperties(String input, aQute.service.reporter.Reporter logger) static booleanquote(Appendable sb, String value) static booleanquote(Appendable sb, String value, char quoteChar) static booleanquote(StringBuilder sb, String value) static booleanquote(StringBuilder sb, String value, char quoteChar)
-
Field Details
-
TOKEN_P
-
-
Constructor Details
-
OSGiHeader
public OSGiHeader()
-
-
Method Details
-
parseHeader
-
parseHeader
Standard OSGi header parser. This parser can handle the format clauses ::= clause ( ',' clause ) + clause ::= name ( ';' name ) (';' key '=' value ) This is mapped to a Map { name => Map { attr|directive => value } }- Parameters:
value- A string- Returns:
- a Mapinvalid input: '<'String,Mapinvalid input: '<'String,String>>
-
parseHeader
public static Parameters parseHeader(String value, aQute.service.reporter.Reporter logger, Parameters result) -
parseProperties
-
parseProperties
-
quote
- Parameters:
sb-value-
-
quote
-
quote
- Throws:
IOException
-
quote
- Throws:
IOException
-