TextUtils

public final class TextUtils

Methods

isEmpty

public static boolean isEmpty(CharSequence str)

Returns true if the string is null or empty

Parameters:
  • str – the string to test. Can be null
Returns:

true if str is null or empty