@Immutable public abstract class OctetCharset extends Charset
| Modifier and Type | Class and Description |
|---|---|
private class |
OctetCharset.Decoder |
private class |
OctetCharset.Encoder |
| Modifier and Type | Field and Description |
|---|---|
private char[] |
byte2char |
private char[][] |
char2byte |
protected static char |
REPLACEMENT
Use this character in the lookup table provided to the constructor for
every character that does not have a replacement in 16 bit Unicode.
|
| Modifier | Constructor and Description |
|---|---|
protected |
OctetCharset(String cname,
String[] aliases,
char[] byte2char) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Charset cs) |
CharsetDecoder |
newDecoder() |
CharsetEncoder |
newEncoder() |
aliases, availableCharsets, canEncode, compareTo, decode, defaultCharset, displayName, displayName, encode, encode, equals, forName, hashCode, isRegistered, isSupported, name, toStringprivate final char[] byte2char
private final char[][] char2byte
protected static final char REPLACEMENT
public CharsetDecoder newDecoder()
newDecoder in class Charsetpublic CharsetEncoder newEncoder()
newEncoder in class CharsetCopyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.