public class NDTUtils extends Object
| Constructor and Description |
|---|
NDTUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isEmpty(String str)
Utility method to check if the given string is empty ("") or null.
|
static boolean |
isNotEmpty(String str)
Utility method to check if the given string is not empty ("") or null.
|
static String |
prtdbl(double paramDblToFormat)
Utility method to print double value up to the hundredth place.
|
static String |
prttxt(int paramIntVal,
ResourceBundle paramResBundObj)
Utility method to print Text values for data speed related keys.
|
static String |
urlEncode(String str)
Utility method to encode the given string using UTF-8 encoding
|
public static boolean isEmpty(String str)
str - String to checkpublic static boolean isNotEmpty(String str)
str - String to checkpublic static String prtdbl(double paramDblToFormat)
paramDblToFormat - Double numbers to formatpublic static String prttxt(int paramIntVal, ResourceBundle paramResBundObj)
paramIntVal - integer parameter for which we find text value