public final class CharTypes extends Object
Constructor and Description |
---|
CharTypes() |
Modifier and Type | Method and Description |
---|---|
static void |
appendQuoted(StringBuilder sb,
String content) |
static int |
charToHex(int ch) |
static byte[] |
copyHexBytes() |
static char[] |
copyHexChars() |
static int[] |
get7BitOutputEscapes()
Accessor for getting a read-only encoding table for first 128 Unicode
code points (single-byte UTF-8 characters).
|
static int[] |
get7BitOutputEscapes(int quoteChar)
Alternative to
get7BitOutputEscapes() when a non-standard quote character
is used. |
static int[] |
getInputCodeComment() |
static int[] |
getInputCodeLatin1() |
static int[] |
getInputCodeLatin1JsNames() |
static int[] |
getInputCodeUtf8() |
static int[] |
getInputCodeUtf8JsNames() |
static int[] |
getInputCodeWS() |
public static int[] getInputCodeLatin1()
public static int[] getInputCodeUtf8()
public static int[] getInputCodeLatin1JsNames()
public static int[] getInputCodeUtf8JsNames()
public static int[] getInputCodeComment()
public static int[] getInputCodeWS()
public static int[] get7BitOutputEscapes()
public static int[] get7BitOutputEscapes(int quoteChar)
get7BitOutputEscapes()
when a non-standard quote character
is used.public static int charToHex(int ch)
public static void appendQuoted(StringBuilder sb, String content)
public static char[] copyHexChars()
public static byte[] copyHexBytes()
Copyright © 2020 JBoss by Red Hat. All rights reserved.