Class Strings


  • public final class Strings
    extends Object
    • Method Detail

      • isNullOrEmpty

        public static boolean isNullOrEmpty​(String string)
      • isNotNullAndNotEmpty

        public static boolean isNotNullAndNotEmpty​(String string)
      • getValueOrEmpty

        public static String getValueOrEmpty​(String string)
        Parameters:
        string - - The input String.
        Returns:
        - Returns an empty string if the input String is null (or) empty, else it returns back the input string.
      • escapeHtml

        public static String escapeHtml​(String text)
      • valueOf

        public static String valueOf​(Map<?,​?> m)