Class StringUtils

java.lang.Object
com.mchange.v2.lang.StringUtils

public final class StringUtils extends Object
requires JDK1.4+ (try com.mchange.lang.StringUtils for older JVMs)
  • Field Details

    • EMPTY_STRING_ARRAY

      public static final String[] EMPTY_STRING_ARRAY
  • Constructor Details

    • StringUtils

      public StringUtils()
  • Method Details

    • normalString

      public static String normalString(String s)
    • nonEmptyString

      public static boolean nonEmptyString(String s)
    • nonWhitespaceString

      public static boolean nonWhitespaceString(String s)
    • nonEmptyOrNull

      public static String nonEmptyOrNull(String s)
    • nonNullOrBlank

      public static String nonNullOrBlank(String s)
    • nonEmptyTrimmedOrNull

      public static String nonEmptyTrimmedOrNull(String s)
    • getUTF8Bytes

      public static byte[] getUTF8Bytes(String s)
    • splitCommaSeparated

      public static String[] splitCommaSeparated(String commaSep, boolean trim)