public class StringUtil extends Object
| Constructor and Description |
|---|
StringUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T> String |
arrayToString(T[] items,
String delimiter)
Pretty print an array of objects of type T
|
static String |
charSequenceArrayToString(CharSequence... seq)
Pretty print an array of CharSequence items
|
static boolean |
containsAll(Object whole,
CharSequence... parts)
Check whether whole contains all of the given parts
|
static boolean |
containsOneOrMoreOf(Object whole,
CharSequence... parts)
Check whether whole contains at least one of the given parts
|
public static boolean containsAll(Object whole, CharSequence... parts)
whole - object to be converted to a String, if not null, for comparisonparts - test part to search within wholepublic static boolean containsOneOrMoreOf(Object whole, CharSequence... parts)
whole - object to be converted to a String, if not null, for comparisonparts - test part to search within wholepublic static String charSequenceArrayToString(CharSequence... seq)
seq - Copyright © 2017. All rights reserved.