org.camunda.commons.utils
Class StringUtil
java.lang.Object
org.camunda.commons.utils.StringUtil
public final class StringUtil
- extends Object
- Author:
- Sebastian Menski
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringUtil
public StringUtil()
isExpression
public static boolean isExpression(String text)
- Checks whether a
String seams to be an expression or not
- Parameters:
text - the text to check
- Returns:
- true if the text seams to be an expression false otherwise
split
public static String[] split(String text,
String regex)
- Splits a
String by an expression.
- Parameters:
text - the text to splitregex - the regex to split by
- Returns:
- the parts of the text or null if text was null
join
public static String join(String delimiter,
String... parts)
- Joins a list of Strings to a single one.
- Parameters:
delimiter - the delimiter between the joined partsparts - the parts to join
- Returns:
- the joined String or null if parts was null
Copyright © 2015 camunda services GmbH. All rights reserved.