Package org.eclipse.jetty.start
Class Utils
- java.lang.Object
-
- org.eclipse.jetty.start.Utils
-
public final class Utils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Utils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isBlank(java.lang.String value)
Is String null, empty, or consisting of only whitespace.static boolean
isNotBlank(java.lang.String value)
Is String valid and has something other than whitespacestatic java.lang.String
join(java.lang.Object[] arr, int start, int end, java.lang.String delim)
static java.lang.String
join(java.lang.Object[] arr, java.lang.String delim)
static java.lang.String
join(java.util.Collection<?> objs, java.lang.String delim)
-
-
-
Method Detail
-
join
public static java.lang.String join(java.lang.Object[] arr, java.lang.String delim)
-
join
public static java.lang.String join(java.lang.Object[] arr, int start, int end, java.lang.String delim)
-
join
public static java.lang.String join(java.util.Collection<?> objs, java.lang.String delim)
-
isBlank
public static boolean isBlank(java.lang.String value)
Is String null, empty, or consisting of only whitespace.- Parameters:
value
- the value to test- Returns:
- true if null, empty, or consisting of only whitespace
-
isNotBlank
public static boolean isNotBlank(java.lang.String value)
Is String valid and has something other than whitespace- Parameters:
value
- the value to test- Returns:
- true if String has something other than whitespace
-
-