Package org.testng.util
Class Strings
java.lang.Object
org.testng.util.Strings
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
escapeHtml
(String text) static String
getValueOrEmpty
(String string) static boolean
isNotNullAndNotEmpty
(String string) static boolean
isNullOrEmpty
(String string) static String
static String
static String
-
Field Details
-
ESCAPE_HTML_MAP
-
-
Constructor Details
-
Strings
private Strings()
-
-
Method Details
-
repeat
-
isNullOrEmpty
-
isNotNullAndNotEmpty
-
getValueOrEmpty
- Parameters:
string
- - The input String.- Returns:
- - Returns an empty string if the input String is
null
(or) empty, else it returns back the input string.
-
escapeHtml
-
valueOf
-
join
-