Class StringHelper

java.lang.Object
ai.wanaku.cli.main.support.StringHelper

public class StringHelper extends Object
Helper methods for working with Strings.
  • Method Details

    • isNotEmpty

      public static boolean isNotEmpty(String value)
      Asserts whether the string is not empty.
      Parameters:
      value - the string to test
      Returns:
      true if value is not null and not blank, false otherwise.
    • isEmpty

      public static boolean isEmpty(String value)
      Asserts whether the string is empty.
      Parameters:
      value - the string to test
      Returns:
      true if value is null and blank, false otherwise.