Package com.microsoft.sqlserver.jdbc
Class StringUtils
- java.lang.Object
-
- com.microsoft.sqlserver.jdbc.StringUtils
-
public class StringUtils extends Object
Provides a utility class for Strings.- Since:
- 6.1.2
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isEmpty(CharSequence charSequence)
Returns if String is nullstatic boolean
isInteger(String str)
Returns if string is integer or notstatic boolean
isNumeric(String str)
Returns if String is numeric or not.
-
-
-
Field Detail
-
SPACE
public static final String SPACE
string containing a space- See Also:
- Constant Field Values
-
EMPTY
public static final String EMPTY
empty string- See Also:
- Constant Field Values
-
-
Method Detail
-
isEmpty
public static boolean isEmpty(CharSequence charSequence)
Returns if String is null- Parameters:
charSequence
-CharSequence
Can provide null- Returns:
Boolean
if provided char sequence is null or empty / blank- Since:
- 6.1.2
-
isNumeric
public static boolean isNumeric(String str)
Returns if String is numeric or not.
-
-