Package org.codehaus.jackson.util
Class CharTypes
java.lang.Object
org.codehaus.jackson.util.CharTypes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
appendQuoted
(StringBuilder sb, String content) static int
charToHex
(int ch) static byte[]
static char[]
static final int[]
Accessor for getting a read-only encoding table for first 128 Unicode code points (single-byte UTF-8 characters).static final int[]
static final int[]
static final int[]
static final int[]
static final int[]
-
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
-
copyHexChars
public static char[] copyHexChars()- Since:
- 1.6
-
copyHexBytes
public static byte[] copyHexBytes()- Since:
- 1.6
-