Class Attributes
java.lang.Object
aQute.libg.parameters.Attributes
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Attributes.DataType<Double> static final Attributesstatic final Attributes.DataType<List<Double>> static final Attributes.DataType<List<Long>> static final Attributes.DataType<List<String>> static final Attributes.DataType<List<String>> static final Attributes.DataType<Long> static final Attributes.DataType<String> static final Attributes.DataType<String> -
Constructor Summary
ConstructorsConstructorDescriptionAttributes(Attributes attrs) Attributes(Attributes... attrs) Attributes(Map<String, String> v) -
Method Summary
Modifier and TypeMethodDescriptionvoidappend(StringBuilder appendable) voidappend(StringBuilder sb, Map.Entry<String, String> e) voidclear()booleancontainsKey(Object name) Deprecated.booleancontainsKey(String name) booleancontainsValue(Object value) Deprecated.booleancontainsValue(String value) static Objectconvert(Attributes.Type t, String s) static Objectstatic AttributesentrySet()booleanDeprecated.Deprecated.<T> TgetTyped(Attributes.DataType<T> type, String adname) inthashCode()Deprecated.booleanisEmpty()booleanisEqual(Attributes other) keySet()voidmergeWith(Attributes other, boolean override) Merge the attributesvoidputAll(Attributes attrs) voidvoidputAllTyped(Map<String, Object> attrs) voidDeprecated.intsize()static StringtoDirective(String key) Check if a directive, if so, return directive name otherwise nulltoString()static Attributes.Typevalues()Methods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
STRING
-
LONG
-
DOUBLE
-
VERSION
-
LIST_STRING
-
LIST_LONG
-
LIST_DOUBLE
-
LIST_VERSION
-
EMPTY_ATTRS
-
-
Constructor Details
-
Attributes
public Attributes() -
Attributes
-
Attributes
-
Attributes
-
-
Method Details
-
putAllTyped
-
putTyped
-
clear
-
containsKey
-
containsKey
Deprecated.- Specified by:
containsKeyin interfaceMap<String,String>
-
containsValue
-
containsValue
Deprecated.- Specified by:
containsValuein interfaceMap<String,String>
-
entrySet
-
get
-
get
-
get
-
isEmpty
-
keySet
-
put
-
getType
-
putAll
-
putAll
-
remove
-
remove
-
size
-
values
-
getVersion
-
toString
-
append
-
append
-
toString
-
equals
-
hashCode
-
isEqual
-
getTyped
-
getTyped
-
toType
-
convert
-
convert
-
mergeWith
Merge the attributes -
toDirective
-
create
-
with
-