Package org.kie.soup.commons.util
Class ListSplitter
- java.lang.Object
-
- org.kie.soup.commons.util.ListSplitter
-
public class ListSplitter extends Object
-
-
Constructor Summary
Constructors Constructor Description ListSplitter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String[]split(String valueList)static String[]split(String quoteCharacter, boolean trim, String valueList)static String[]splitPreserveQuotes(String quoteCharacter, boolean trim, String valueList)
-
-
-
Method Detail
-
split
public static String[] split(String quoteCharacter, boolean trim, String valueList)
- Parameters:
quoteCharacter- Character used to surround the items in the list.trim- If true string values between , will be trimmed. If false the spaces are included.valueList- Comma separated list of items.- Returns:
- An array of String items.
-
-