Class StringUtil

    • Constructor Detail

      • StringUtil

        public StringUtil()
    • Method Detail

      • isNotNull

        public static boolean isNotNull​(String str)
        Check whether the passed string is null or empty
        Parameters:
        str -
        Returns:
      • isNullOrEmpty

        public static boolean isNullOrEmpty​(String str)
        Check whether the string is null or empty
        Parameters:
        str -
        Returns:
      • match

        public static void match​(String first,
                                 String second)
        Match two strings else throw a RuntimeException
        Parameters:
        first -
        second -