Package org.hibernate.search.util
Class StringHelper
- java.lang.Object
-
- org.hibernate.search.util.StringHelper
-
@Deprecated public final class StringHelper extends Object
Deprecated.Will be removed without replacement.Inspired fromorg.hibernate.util.StringHelper, but removing most methods as they are not needed for Hibernate Search.- Author:
- Emmanuel Bernard, Sanne Grinovero
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanisEmpty(String string)Deprecated.static booleanisNotEmpty(String string)Deprecated.static Stringjoin(Iterable<?> iterable, String separator)Deprecated.Joins the elements of the given iterable to a string, separated by the given separator string.static Stringjoin(Object[] array, String separator)Deprecated.Joins the elements of the given array to a string, separated by the given separator string.static Stringjoin(Iterator<?> iterator, String separator)Deprecated.Joins the elements of the given iterator to a string, separated by the given separator string.static Stringqualify(String prefix, String name)Deprecated.
-
-
-
Method Detail
-
isNotEmpty
public static boolean isNotEmpty(String string)
Deprecated.
-
isEmpty
public static boolean isEmpty(String string)
Deprecated.
-
join
public static String join(Object[] array, String separator)
Deprecated.Joins the elements of the given array to a string, separated by the given separator string.- Parameters:
array- the array to joinseparator- the separator string- Returns:
- a string made up of the string representations of the given array's members, separated by the given separator string
-
join
public static String join(Iterable<?> iterable, String separator)
Deprecated.Joins the elements of the given iterable to a string, separated by the given separator string.- Parameters:
iterable- the iterable to joinseparator- the separator string- Returns:
- a string made up of the string representations of the given iterable members, separated by the given separator string
-
join
public static String join(Iterator<?> iterator, String separator)
Deprecated.Joins the elements of the given iterator to a string, separated by the given separator string.- Parameters:
iterator- the iterator to joinseparator- the separator string- Returns:
- a string made up of the string representations of the given iterator members, separated by the given separator string
-
-