Class Strings

java.lang.Object
org.eclipse.hono.util.Strings

public final class Strings extends Object
A helper class for working with Strings.
  • Method Details

    • isNullOrEmpty

      public static boolean isNullOrEmpty(Object value)
      Check if the provided value for null and emptiness.

      The method checks if the provided value is null or its string representation (by calling Object.toString() is null or empty.

      Parameters:
      value - the value to check
      Returns:
      true if the value is null or the string representation is empty.