All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sun.io.ByteToCharGB2312

java.lang.Object
   |
   +----sun.io.ByteToCharConverter
           |
           +----sun.io.ByteToCharGB2312

public class ByteToCharGB2312
extends ByteToCharConverter

Variable Index

 o unicodeGB
GB -> Unicode table

Constructor Index

 o ByteToCharGB2312()

Method Index

 o convert(byte[], int, int, char[], int, int)
Character conversion
 o flush(char[], int, int)
Writes any remaining output to the output buffer and resets the converter to its initial state.
 o getCharacterEncoding()
Return the character set ID
 o reset()
Resets converter to its initial state.

Variables

 o unicodeGB
 protected final String unicodeGB
GB -> Unicode table

Constructors

 o ByteToCharGB2312
 public ByteToCharGB2312()

Methods

 o flush
 public int flush(char output[],
                  int outStart,
                  int outEnd) throws MalformedInputException
Writes any remaining output to the output buffer and resets the converter to its initial state.

Overrides:
flush in class ByteToCharConverter
 o reset
 public void reset()
Resets converter to its initial state.

Overrides:
reset in class ByteToCharConverter
 o convert
 public int convert(byte input[],
                    int inOff,
                    int inEnd,
                    char output[],
                    int outOff,
                    int outEnd) throws UnknownCharacterException, MalformedInputException, ConversionBufferFullException
Character conversion

Overrides:
convert in class ByteToCharConverter
 o getCharacterEncoding
 public String getCharacterEncoding()
Return the character set ID

Overrides:
getCharacterEncoding in class ByteToCharConverter

All Packages  Class Hierarchy  This Package  Previous  Next  Index