class UTF8Encoding extends Encoding
| Modifier and Type | Field and Description |
|---|---|
private char[] |
decoderArray |
private static int |
MAX_CODE_POINT |
private static int |
MIN_2_BYTES |
private static int |
MIN_3_BYTES |
private static int |
MIN_4_BYTES |
| Constructor and Description |
|---|
UTF8Encoding(java.lang.String jvmEncoding) |
| Modifier and Type | Method and Description |
|---|---|
private static void |
checkByte(int ch,
int pos,
int len) |
private static void |
checkMinimal(int ch,
int minValue) |
java.lang.String |
decode(byte[] data,
int offset,
int length)
Custom byte[] -> String conversion routine for UTF-8 only.
|
decode, defaultEncoding, encode, getDatabaseEncoding, getDecodingReader, getEncodingWriter, getJVMEncoding, hasAsciiNumbers, name, toStringprivate static final int MIN_2_BYTES
private static final int MIN_3_BYTES
private static final int MIN_4_BYTES
private static final int MAX_CODE_POINT
private char[] decoderArray
private static void checkByte(int ch,
int pos,
int len)
throws java.io.IOException
java.io.IOExceptionprivate static void checkMinimal(int ch,
int minValue)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String decode(byte[] data,
int offset,
int length)
throws java.io.IOException