public class GSMCharset extends EscapedByteLookupCharset
EscapedByteLookupCharset.Decoder, EscapedByteLookupCharset.Encoder| Modifier | Constructor and Description |
|---|---|
protected |
GSMCharset(java.lang.String canonicalName,
java.lang.String[] aliases,
int[] byteToChar,
int[] byteToCharEscaped,
int[][] charToByte,
int[][] charToByteEscaped)
Initializes a new charset with the given canonical name and alias
set, and byte-to-char/char-to-byte lookup tables.
|
contains, newDecoder, newEncoderprotected GSMCharset(java.lang.String canonicalName,
java.lang.String[] aliases,
int[] byteToChar,
int[] byteToCharEscaped,
int[][] charToByte,
int[][] charToByteEscaped)
canonicalName - The canonical name of this charsetaliases - An array of this charset's aliases, or null if it has no aliasesbyteToChar - a byte-to-char conversion table for this charsetbyteToCharEscaped - a byte-to-char conversion table for this charset
for the escaped characterscharToByte - a char-to-byte conversion table for this charset. It can
be generated on-the-fly by calling createInverseLookupTable(byteToChar).charToByteEscaped - a char-to-byte conversion table for this charset
for the escaped charactersjava.nio.charset.IllegalCharsetNameException - If the canonical name or any of the aliases are illegal