Class StringUtil
java.lang.Object
de.xima.fc.api.rest.pub.client.form.StringUtil
@Generated("de.xima.openapi.codegen.java_jaxrs.XimaJavaJaxrsGenerator")
public final class StringUtil
extends Object
Helper methods for working with strings.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleancontainsIgnoreCase(String[] array, String value) Check if the given array contains the given value (with case-insensitive comparison).static StringJoin an array of strings with the given separator.static Stringjoin(Collection<String> list, String separator) Join a list of strings with the given separator.
-
Method Details
-
containsIgnoreCase
-
join
Join an array of strings with the given separator.Note: This might be replaced by utility method from commons-lang or guava someday if one of those libraries is added as dependency.
- Parameters:
array- The array of stringsseparator- The separator- Returns:
- the resulting string
-
join
Join a list of strings with the given separator.- Parameters:
list- The list of stringsseparator- The separator- Returns:
- the resulting string
-