public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
defStr(String s)
Override that uses that def=""
|
static String |
defStr(String s,
String def)
If isBlankString(s) is true then return def else return s
|
static boolean |
isBlankString(String s)
Return true if the given string is null, empty (""), or only
whitespace
|
public static boolean isBlankString(String s)
s - The string to evalulatepublic static String defStr(String s, String def)
s - the string to checkdef - the default string to returnCopyright © 2015 Institute for Intelligent Systems. All rights reserved.