All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sun.io.ByteToCharSJIS

java.lang.Object
   |
   +----sun.io.ByteToCharConverter
           |
           +----sun.io.ByteToCharJIS0208
                   |
                   +----sun.io.ByteToCharSJIS

public class ByteToCharSJIS
extends ByteToCharJIS0208

Constructor Index

 o ByteToCharSJIS()

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()
Reset after finding bad input

Constructors

 o ByteToCharSJIS
 public ByteToCharSJIS()

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 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
 o reset
 public void reset()
Reset after finding bad input

Overrides:
reset in class ByteToCharConverter

All Packages  Class Hierarchy  This Package  Previous  Next  Index