Package 

Class StringUtils

    • Method Summary

      Modifier and Type Method Description
      static boolean isEmpty(@Nullable() String str) Returns true if the string is null or 0-length.
      static boolean isBlank(@Nullable() String str)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • isEmpty

         static boolean isEmpty(@Nullable() String str)

        Returns true if the string is null or 0-length.This method is the same like isEmpty except we can use itin unit tests without robolectric

        Parameters:
        str - the string to be examined