Package org.testng.util
Class Strings
java.lang.Object
org.testng.util.Strings
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringescapeHtml(String text) static StringgetValueOrEmpty(String string) static booleanisNotNullAndNotEmpty(String string) static booleanisNullOrEmpty(String string) static Stringstatic Stringstatic 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
-