| Modifier and Type | Field and Description |
|---|---|
static char |
DUPLICATE_MARKER |
static Pattern |
TOKEN_P |
| Constructor and Description |
|---|
Header() |
Header(String header) |
Header(String header,
Reporter reporter) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String key,
Props attrs) |
void |
append(StringBuilder sb) |
Map<String,? extends Map<String,String>> |
asMapMap() |
void |
clear() |
boolean |
containsKey(Object name)
Deprecated.
|
boolean |
containsKey(String name) |
boolean |
containsValue(Object value)
Deprecated.
|
boolean |
containsValue(Props value) |
Set<Map.Entry<String,Props>> |
entrySet() |
boolean |
equals(Object other)
Deprecated.
|
Props |
get(Object key)
Deprecated.
|
Props |
get(String key) |
int |
hashCode()
Deprecated.
|
static boolean |
isDuplicate(String name) |
boolean |
isEmpty() |
boolean |
isEqual(Header other) |
Set<String> |
keySet() |
static Header |
parseHeader(String value) |
static Header |
parseHeader(String value,
Reporter logger)
Standard OSGi header parser.
|
static Header |
parseHeader(String value,
Reporter logger,
Header result) |
static Props |
parseProperties(String input) |
static Props |
parseProperties(String input,
Reporter logger) |
Props |
put(String key,
Props value) |
void |
putAll(Map<? extends String,? extends Props> map) |
void |
putAllIfAbsent(Map<String,? extends Props> map) |
static boolean |
quote(Appendable sb,
String value) |
Props |
remove(Object var0)
Deprecated.
|
Props |
remove(String var0) |
static String |
removeDuplicateMarker(String key) |
int |
size() |
String |
toString() |
Collection<Props> |
values() |
public static final Pattern TOKEN_P
public static final char DUPLICATE_MARKER
public Header()
public Header(String header)
public boolean containsKey(String name)
@Deprecated public boolean containsKey(Object name)
containsKey in interface Map<String,Props>public boolean containsValue(Props value)
@Deprecated public boolean containsValue(Object value)
containsValue in interface Map<String,Props>@Deprecated public Props get(Object key)
@Deprecated public Props remove(Object var0)
public void append(StringBuilder sb)
@Deprecated public boolean equals(Object other)
@Deprecated public int hashCode()
public boolean isEqual(Header other)
public static Header parseHeader(String value, Reporter logger)
value - A stringpublic static boolean isDuplicate(String name)
public static boolean quote(Appendable sb, String value) throws IOException
sb - value - IOExceptionCopyright © 2014 aQute SARL. All rights reserved.