Class StringUtils

java.lang.Object
com.amilesend.client.util.StringUtils

public final class StringUtils extends Object
Simple string utility methods.
  • Field Details

  • Method Details

    • isBlank

      public static boolean isBlank(CharSequence cs)
      Determines if the given char sequence is blank.
      Parameters:
      cs - the char sequence to evaluate
      Returns:
      true if blank; else, false
    • isNotBlank

      public static boolean isNotBlank(CharSequence cs)
      Determines if the given char sequence is not blank.
      Parameters:
      cs - the char sequence to evaluate
      Returns:
      true if not blank; else, false
    • isEmpty

      public static boolean isEmpty(CharSequence cs)
      Determines if the given char sequence is empty.
      Parameters:
      cs - the char sequence to evaluate
      Returns:
      true if empty; else, false
    • isNotEmpty

      public static boolean isNotEmpty(CharSequence cs)
      Determines if the given char sequence is not empty.
      Parameters:
      cs - the char sequence to evaluate
      Returns:
      true if not empty; else, false