final class PDFDocEncoding
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static int[] |
CODE_TO_UNI |
private static char |
REPLACEMENT_CHARACTER |
private static java.util.Map<java.lang.Character,java.lang.Integer> |
UNI_TO_CODE |
Modifier | Constructor and Description |
---|---|
private |
PDFDocEncoding() |
Modifier and Type | Method and Description |
---|---|
static boolean |
containsChar(char character)
Returns true if the given character is available in PDFDocEncoding.
|
static byte[] |
getBytes(java.lang.String text)
Returns the given string encoded with PDFDocEncoding.
|
private static void |
set(int code,
char unicode) |
static java.lang.String |
toString(byte[] bytes)
Returns the string representation of the given PDFDocEncoded bytes.
|
private static final char REPLACEMENT_CHARACTER
private static final int[] CODE_TO_UNI
private static final java.util.Map<java.lang.Character,java.lang.Integer> UNI_TO_CODE
private static void set(int code, char unicode)
public static java.lang.String toString(byte[] bytes)
public static byte[] getBytes(java.lang.String text)
public static boolean containsChar(char character)
character
- UTF-16 character