Class StringUtil


  • public class StringUtil
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isNullOrWhitespace​(java.lang.String str)
      Returns true when the String is null, empty or contains only whitespace characters.
      • Methods inherited from class java.lang.Object

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

      • isNullOrWhitespace

        public static boolean isNullOrWhitespace​(java.lang.String str)
        Returns true when the String is null, empty or contains only whitespace characters.
        Parameters:
        str - The String being tested.
        Returns:
        true iff str is null, empty or contains only whitespace.