Class CharTypes

java.lang.Object
org.codehaus.jackson.util.CharTypes

public final class CharTypes extends Object
  • Constructor Details

    • CharTypes

      public CharTypes()
  • Method Details

    • getInputCodeLatin1

      public static final int[] getInputCodeLatin1()
    • getInputCodeUtf8

      public static final int[] getInputCodeUtf8()
    • getInputCodeLatin1JsNames

      public static final int[] getInputCodeLatin1JsNames()
    • getInputCodeUtf8JsNames

      public static final int[] getInputCodeUtf8JsNames()
    • getInputCodeComment

      public static final int[] getInputCodeComment()
    • get7BitOutputEscapes

      public static final int[] get7BitOutputEscapes()
      Accessor for getting a read-only encoding table for first 128 Unicode code points (single-byte UTF-8 characters). Value of 0 means "no escaping"; other positive values that value is character to use after backslash; and negative values that generic (backslash - u) escaping is to be used.
    • charToHex

      public static int charToHex(int ch)
    • appendQuoted

      public static void appendQuoted(StringBuilder sb, String content)
    • copyHexChars

      public static char[] copyHexChars()
      Since:
      1.6
    • copyHexBytes

      public static byte[] copyHexBytes()
      Since:
      1.6