public class

ByteToCharISCII91

extends ByteToCharConverter
java.lang.Object
   ↳ sun.io.ByteToCharConverter
     ↳ sun.io.ByteToCharISCII91

Class Overview

Converter class. Converts between Unicode encoding and ISCII91 encoding. ISCII91 is the character encoding as defined in Indian Standard document IS 13194:1991 ( Indian Script Code for Information Interchange ).

Summary

[Expand]
Inherited Fields
From class sun.io.ByteToCharConverter
Public Constructors
ByteToCharISCII91()
Public Methods
int convert(byte[] input, int inStart, int inEnd, char[] output, int outStart, int outEnd)
Converts ISCII91 characters to Unicode.
int flush(char[] output, int outStart, int outEnd)
Writes any remaining output to the output buffer and resets the converter to its initial state.
String getCharacterEncoding()
Returns the character set id for the conversion.
void reset()
Resets converter to its initial state.
[Expand]
Inherited Methods
From class sun.io.ByteToCharConverter
From class java.lang.Object

Public Constructors

public ByteToCharISCII91 ()

Public Methods

public int convert (byte[] input, int inStart, int inEnd, char[] output, int outStart, int outEnd)

Converts ISCII91 characters to Unicode.

Parameters
input byte array containing text to be converted.
inStart 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.
outStart 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)

Writes any remaining output to the output buffer and resets the converter to its initial 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 String getCharacterEncoding ()

Returns the character set id for the conversion.

public void reset ()

Resets converter to its initial state.

See Also