Class StringUtils


  • public final class StringUtils
    extends Object
    String utilities. Replicates Apache Commons Lang 3.
    • Method Detail

      • isBlank

        public static boolean isBlank​(CharSequence cs)
        Returns true if the specified char sequence is all blank, empty or null.
        Parameters:
        cs - The char sequence. May be null.
        Returns:
        true if the specified char sequence is all blank, empty or null, else false.
      • isNotBlank

        public static boolean isNotBlank​(CharSequence cs)
        Returns true if the specified char sequence is not all blank, not empty and not null.
        Parameters:
        cs - The char sequence. May be null.
        Returns:
        true if the specified char sequence is not all blank, not empty and not null, else false.