All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sun.io.ByteToCharCNS11643

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

public class ByteToCharCNS11643
extends ByteToCharConverter

Variable Index

 o unicodeCNS1
CNS -> Unicode table
 o unicodeCNS2
 o unicodeCNS3

Constructor Index

 o ByteToCharCNS11643()

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 unicodeCNS1
 protected final String unicodeCNS1
CNS -> Unicode table

 o unicodeCNS2
 protected final String unicodeCNS2
 o unicodeCNS3
 protected final String unicodeCNS3

Constructors

 o ByteToCharCNS11643
 public ByteToCharCNS11643()

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