Class CbStrings

java.lang.Object
com.couchbase.client.core.util.CbStrings

@Internal public class CbStrings extends Object
  • Field Details

    • MIN_CODE_POINT_AS_STRING

      public static final String MIN_CODE_POINT_AS_STRING
    • MAX_CODE_POINT_AS_STRING

      public static final String MAX_CODE_POINT_AS_STRING
  • Method Details

    • codePointToString

      public static String codePointToString(int codePoint)
      Backport of Java 11's Character.toString(int codePoint).
    • nullToEmpty

      public static String nullToEmpty(String s)
    • emptyToNull

      public static String emptyToNull(String s)
    • isNullOrEmpty

      public static boolean isNullOrEmpty(String s)
    • removeStart

      public static String removeStart(String s, String removeMe)
    • removeEnd

      public static String removeEnd(String s, String removeMe)