Package org.apache.aries.util
Class ManifestHeaderUtils
- java.lang.Object
-
- org.apache.aries.util.ManifestHeaderUtils
-
public class ManifestHeaderUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ManifestHeaderUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<java.lang.String>
split(java.lang.String value, java.lang.String delimiter)
Splits a delimiter separated string, tolerating presence of non separator commas within double quoted segments.
-
-
-
Method Detail
-
split
public static java.util.List<java.lang.String> split(java.lang.String value, java.lang.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 splitdelimiter
- the delimiter string such as ',' etc.- Returns:
- List
the components of the split String in a list
-
-