public class StringUtils extends Object
Constructor and Description |
---|
StringUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
getTrimmedIfNotNull(String text)
Returns the trimmed string if present.
|
static boolean |
hasText(String text)
Test if a String has a value and is not
null . |
public static boolean hasText(String text)
null
.text
- string to be testedtrue
if the string is not null
and not empty or just contains white spaceCopyright © 2018 Sweden Connect. All rights reserved.