Class StringUtils


  • public final class StringUtils
    extends java.lang.Object
    A utility class to ease string processing.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isEmpty​(java.lang.String string)
      Checks whether a string is null or of zero length.
      • Methods inherited from class java.lang.Object

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

      • isEmpty

        public static boolean isEmpty​(java.lang.String string)
        Checks whether a string is null or of zero length.
        Parameters:
        string - The string to check, may be null.
        Returns:
        true if the string is null or of zero length, false otherwise.