org.apache.aries.util
Class ManifestHeaderUtils

java.lang.Object
  extended by org.apache.aries.util.ManifestHeaderUtils

public class ManifestHeaderUtils
extends Object


Constructor Summary
ManifestHeaderUtils()
           
 
Method Summary
static List<String> split(String value, String delimiter)
          Splits a delimiter separated string, tolerating presence of non separator commas within double quoted segments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManifestHeaderUtils

public ManifestHeaderUtils()
Method Detail

split

public static List<String> split(String value,
                                 String delimiter)
Splits a delimiter separated string, tolerating presence of non separator commas within double quoted segments. Eg. com.ibm.ws.eba.helloWorldService;version="[1.0.0, 1.0.0]" & com.ibm.ws.eba.helloWorldService;version="1.0.0" com.ibm.ws.eba.helloWorld;version="2";bundle-version="[2,30)" com.acme.foo;weirdAttr="one;two;three";weirdDir:="1;2;3"

Parameters:
value - the value to be split
delimiter - the delimiter string such as ',' etc.
Returns:
List the components of the split String in a list


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.