Class StringUtils

  • All Implemented Interfaces:

    
    public final class StringUtils
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static boolean isNullOrEmpty(String str) Checks if a String is null, empty or it only contains whitespaces.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • isNullOrEmpty

         static boolean isNullOrEmpty(String str)

        Checks if a String is null, empty or it only contains whitespaces.

        Parameters:
        str - the String that we want to check
        Returns:

        boolean with the evaluation result