Package org.eclipse.hono.util
Class Strings
java.lang.Object
org.eclipse.hono.util.Strings
A helper class for working with
String
s.-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isNullOrEmpty
(Object value) Check if the provided value for null and emptiness.
-
Method Details
-
isNullOrEmpty
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.
-