Class Strings


  • public class Strings
    extends Object
    String utility methods.
    • Constructor Detail

      • Strings

        public Strings()
    • Method Detail

      • nullToEmpty

        public static String nullToEmpty​(String s)
        Return either s, or an empty string if s is null.
      • isNullOrEmpty

        public static boolean isNullOrEmpty​(String s)
        Return true if the given string is null or empty.