|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.n52.security.common.attributes.AttributeUtil
public final class AttributeUtil
Utility class wich shall encapsulate simple methods for easier life with attribute processing.
Method Summary | |
---|---|
static Map<String,Attribute> |
fillAttributeMap(Collection<Attribute> attributes)
Converts a collection of Attributes to a Map. |
static Map<String,Attribute> |
fillAttributeMap(Map<String,Attribute> out,
Collection<Attribute> attributes)
Converts a collection of Attributes to a Map. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Map<String,Attribute> fillAttributeMap(Collection<Attribute> attributes) throws IllegalArgumentException
attributes
- a collection of Attributes
IllegalArgumentException
- if an object in attributes is not a subclass of Attribute.public static Map<String,Attribute> fillAttributeMap(Map<String,Attribute> out, Collection<Attribute> attributes) throws IllegalArgumentException
out
- the outcomming map, if null a new map is constructed.attributes
- a collection of Attributes
IllegalArgumentException
- if an object in attributes is not a subclass of Attribute.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |