public class SingleByteCharset extends Charset
Charset implementation for the single-byte encodings.| Modifier and Type | Field and Description | 
|---|---|
| protected static char | REPLACEMENT_CHARACTERUnicode replacement character 0xFFFD. | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | SingleByteCharset(String canonicalName,
                 String[] aliases,
                 char[] toUnicodeMap)Creates a new single-byte charset using an array of unicode characters. | 
| 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, toStringprotected static final char REPLACEMENT_CHARACTER
protected SingleByteCharset(String canonicalName, String[] aliases, char[] toUnicodeMap)
canonicalName - the canonical namealiases - An array of this charset's aliases, or null if it has no aliasestoUnicodeMap - the array of unicode characters (may have a maximum of 256 characters,
          first character must be 0x0000)public CharsetDecoder newDecoder()
newDecoder in class Charsetpublic CharsetEncoder newEncoder()
newEncoder in class CharsetCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.