public class StringUtils extends Object
| Constructor and Description |
|---|
StringUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
defaultIfEmpty(String string,
String defaultValue)
Returns the passed string value of the default value if the former string is null or empty.
|
static boolean |
isEmpty(String string)
Checks whether the input string is null or empty.
|
public static boolean isEmpty(String string)
string - the string to checktrue if the string is null or empty, false otherwise.Copyright © 2018–2024 HERE Europe B.V.. All rights reserved.