Class Validation


  • public class Validation
    extends Object
    • Method Detail

      • isBlank

        public static boolean isBlank​(String string)

        Checks if a given string is blank or null.

        Parameters:
        string - the String to check, may be null
        Returns:
        true if the CharSequence is null, empty or whitespace only