public class StringUtil extends Object
Constructor and Description |
---|
StringUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
fixCrLf(String s)
Fix CR/LF and always make it Unix style
|
static String[] |
fixNull(String[] values)
Check that the provided array is not null.
|
static boolean |
hasWhitespace(String value)
Check that the provided value has no whitespace.
|
public static String fixCrLf(String s)
s
- The string to fixpublic static boolean hasWhitespace(String value)
value
- The value to check.Copyright © 2004-2018. All Rights Reserved.