Class StringUtils


  • public class StringUtils
    extends Object
    Provides a utility class for Strings.
    Since:
    6.1.2
    • 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.
        Parameters:
        str - String
        Returns:
        Boolean if provided String is numeric or not.
      • isInteger

        public static boolean isInteger​(String str)
        Returns if string is integer or not
        Parameters:
        str - String
        Returns:
        Boolean if provided String is Integer or not.