Package org.eclipse.lyo.core.util
Class StringUtils
java.lang.Object
org.eclipse.lyo.core.util.StringUtils
- Since:
- 7.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
Trim, strip control chars (in the Unicode Cc category that are not CR, LF, or TAB), and normalize the string to NFC as per W3C recommendationsstatic String
cleanNonNull
(String str) Trim, strip control chars (in the Unicode Cc category that are not CR, LF, or TAB), and normalize the string to NFC as per W3C recommendations; returns an empty string if a null is encounteredstatic String
Trim and strip control chars (in the Unicode Cc category that are not CR, LF, or TAB)static String
Trim and strip control chars (in the Unicode Cc category that are not CR, LF, or TAB); returns an empty string if a null is encounteredstatic boolean
isNullOrEmpty
(String str) static boolean
isNullOrWhitespace
(String str)
-
Constructor Details
-
StringUtils
public StringUtils()
-
-
Method Details
-
cleanWithoutNormalization
Trim and strip control chars (in the Unicode Cc category that are not CR, LF, or TAB) -
cleanWithoutNormalizationNonNull
Trim and strip control chars (in the Unicode Cc category that are not CR, LF, or TAB); returns an empty string if a null is encountered -
clean
Trim, strip control chars (in the Unicode Cc category that are not CR, LF, or TAB), and normalize the string to NFC as per W3C recommendations -
cleanNonNull
Trim, strip control chars (in the Unicode Cc category that are not CR, LF, or TAB), and normalize the string to NFC as per W3C recommendations; returns an empty string if a null is encountered -
isNullOrWhitespace
-
isNullOrEmpty
-