|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectaQute.lib.env.Header
public class Header
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Field Summary | |
|---|---|
static char |
DUPLICATE_MARKER
|
static Pattern |
TOKEN_P
|
| Constructor Summary | |
|---|---|
Header()
|
|
Header(String header)
|
|
Header(String header,
Reporter reporter)
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Pattern TOKEN_P
public static final char DUPLICATE_MARKER
| Constructor Detail |
|---|
public Header()
public Header(String header)
public Header(String header,
Reporter reporter)
| Method Detail |
|---|
public void clear()
clear in interface Map<String,Props>
public void add(String key,
Props attrs)
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>public Set<Map.Entry<String,Props>> entrySet()
entrySet in interface Map<String,Props>@Deprecated public Props get(Object key)
get in interface Map<String,Props>public Props get(String key)
public boolean isEmpty()
isEmpty in interface Map<String,Props>public Set<String> keySet()
keySet in interface Map<String,Props>
public Props put(String key,
Props value)
put in interface Map<String,Props>public void putAll(Map<? extends String,? extends Props> map)
putAll in interface Map<String,Props>public void putAllIfAbsent(Map<String,? extends Props> map)
@Deprecated public Props remove(Object var0)
remove in interface Map<String,Props>public Props remove(String var0)
public int size()
size in interface Map<String,Props>public Collection<Props> values()
values in interface Map<String,Props>public String toString()
toString in class Objectpublic void append(StringBuilder sb)
@Deprecated public boolean equals(Object other)
equals in interface Map<String,Props>equals in class Object@Deprecated public int hashCode()
hashCode in interface Map<String,Props>hashCode in class Objectpublic boolean isEqual(Header other)
public Map<String,? extends Map<String,String>> asMapMap()
public static Header parseHeader(String value)
public static Header parseHeader(String value,
Reporter logger)
value - A string
public static Header parseHeader(String value,
Reporter logger,
Header result)
public static Props parseProperties(String input)
public static Props parseProperties(String input,
Reporter logger)
public static String removeDuplicateMarker(String key)
public static boolean isDuplicate(String name)
public static boolean quote(Appendable sb,
String value)
throws IOException
sb - value -
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||