Class Strings


  • public class Strings
    extends Object
    String handlers.
    • Constructor Detail

      • Strings

        public Strings()
    • Method Detail

      • isNullOrEmpty

        public static boolean isNullOrEmpty​(String arg)
        Determines whether the parameter string is either null or empty.
        Parameters:
        arg - the string to verify
        Returns:
        true if the string is empty or null and false otherwise.
      • isNullOrWhiteSpace

        public static boolean isNullOrWhiteSpace​(String arg)
        Determines whether the parameter string is null, empty or whitespace.
        Parameters:
        arg - the string to verify
        Returns:
        true if the string is empty, contains only whitespace or is null and false otherwise