Package org.eclipse.hono.util
Class Strings
- java.lang.Object
-
- org.eclipse.hono.util.Strings
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isNullOrEmpty(Object value)
Check if the provided value for null and emptiness.
-
-
-
Method Detail
-
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 callingObject.toString()
isnull
or empty.- Parameters:
value
- the value to check- Returns:
true
if the value isnull
or the string representation is empty.
-
-