Package com.firebolt.jdbc.util
Class StringUtil
java.lang.Object
com.firebolt.jdbc.util.StringUtil
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StringUtil
public StringUtil()
-
-
Method Details
-
strip
-
splitAll
Based onorg.apache.commons.lang3.StringUtils#split(String, char)
with small modifications, simplification and optimization- Parameters:
str
- – the nullable String to parseseparatorChar
- – the character used as the delimiter, null splits on whitespace- Returns:
- an array of parsed Strings, empty array if input is
null
and single element with empty string array if input is empty string
-