public abstract class

ByteToCharEUC

extends ByteToCharConverter
java.lang.Object
   ↳ sun.io.ByteToCharConverter
     ↳ sun.io.ByteToCharEUC
Known Direct Subclasses

Summary

Fields
protected String byteToCharTable
protected String mappingTableG1
[Expand]
Inherited Fields
From class sun.io.ByteToCharConverter
Public Constructors
ByteToCharEUC()
Public Methods
int convert(byte[] input, int inOff, int inEnd, char[] output, int outOff, int outEnd)
Character conversion
int flush(char[] output, int outStart, int outEnd)
flush out any residual data and reset the buffer state
void reset()
Resets the converter.
[Expand]
Inherited Methods
From class sun.io.ByteToCharConverter
From class java.lang.Object

Fields

protected String byteToCharTable

protected String mappingTableG1

Public Constructors

public ByteToCharEUC ()

Public Methods

public int convert (byte[] input, int inOff, int inEnd, char[] output, int outOff, int outEnd)

Character conversion

Parameters
input byte array containing text to be converted.
inOff begin conversion at this offset in input array.
inEnd stop conversion at this offset in input array (exclusive).
output character array to receive conversion result.
outOff start writing to output array at this offset.
outEnd stop writing to output array at this offset (exclusive).
Returns
  • the number of bytes written to output.

public int flush (char[] output, int outStart, int outEnd)

flush out any residual data and reset the buffer state

Parameters
output char array to receive flushed output.
outStart start writing to output array at this offset.
outEnd stop writing to output array at this offset (exclusive).

public void reset ()

Resets the converter.