aQute.libg.clauses
Class Clauses

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<K,V>
          extended by java.util.LinkedHashMap<String,Map<String,String>>
              extended by aQute.libg.clauses.Clauses
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Map<String,String>>

public class Clauses
extends LinkedHashMap<String,Map<String,String>>

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
Clauses()
           
 
Method Summary
static Clauses parse(String value, Logger logger)
          Standard OSGi header parser.
 
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, get, removeEldestEntry
 
Methods inherited from class java.util.HashMap
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

Clauses

public Clauses()
Method Detail

parse

public static Clauses parse(String value,
                            Logger logger)
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 -
Returns:
Throws:
MojoExecutionException


Copyright © 2010 aQute SARL. All Rights Reserved.