public final class StringHelper extends Object
org.hibernate.util.StringHelper
, but removing
most methods as they are not needed for Hibernate Search.Modifier and Type | Method and Description |
---|---|
static boolean |
isEmpty(String string) |
static boolean |
isNotEmpty(String string) |
static String |
join(Iterable<?> iterable,
String separator)
Joins the elements of the given iterable to a string, separated by the given separator string.
|
static String |
join(Iterator<?> iterator,
String separator)
Joins the elements of the given iterator to a string, separated by the given separator string.
|
static String |
join(Object[] array,
String separator)
Joins the elements of the given array to a string, separated by the given separator string.
|
static String |
qualify(String prefix,
String name) |
public static boolean isNotEmpty(String string)
public static boolean isEmpty(String string)
public static String join(Object[] array, String separator)
array
- the array to joinseparator
- the separator stringpublic static String join(Iterable<?> iterable, String separator)
iterable
- the iterable to joinseparator
- the separator stringpublic static String join(Iterator<?> iterator, String separator)
iterator
- the iterator to joinseparator
- the separator stringCopyright © 2006-2017 Red Hat, Inc. All Rights Reserved