org.camunda.bpm.model.xml.impl.util
Class StringUtil

java.lang.Object
  extended by org.camunda.bpm.model.xml.impl.util.StringUtil

public final class StringUtil
extends Object

Author:
Sebastian Menski

Constructor Summary
StringUtil()
           
 
Method Summary
static String joinCommaSeparatedList(List<String> list)
          Joins a list of Strings to a comma separated single String.
static List<String> splitCommaSeparatedList(String text)
          Splits a comma separated list in to single Strings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringUtil

public StringUtil()
Method Detail

splitCommaSeparatedList

public static List<String> splitCommaSeparatedList(String text)
Splits a comma separated list in to single Strings. The list can contain expressions with commas in it.

Parameters:
text - the comma separated list
Returns:
the Strings of the list

joinCommaSeparatedList

public static String joinCommaSeparatedList(List<String> list)
Joins a list of Strings to a comma separated single String.

Parameters:
list - the list to join
Returns:
the resulting comma separated string


Copyright © 2014 camunda services GmbH. All Rights Reserved.