Class StringUtils


  • public final class StringUtils
    extends Object
    A utility class to ease string processing.
    • Method Detail

      • isEmpty

        public static boolean isEmpty​(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.