All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sun.io.CharToByteISO2022

java.lang.Object
   |
   +----sun.io.CharToByteConverter
           |
           +----sun.io.CharToByteISO2022

public abstract class CharToByteISO2022
extends CharToByteConverter

Variable Index

 o codeConverter
 o maximumDesignatorLength
 o SODesignator
 o SS2Designator
 o SS3Designator

Constructor Index

 o CharToByteISO2022()

Method Index

 o canConvert(char)
Returns true if the given character can be converted to the target character encoding.
 o convert(char[], int, int, byte[], int, int)
Character conversion
 o flush(byte[], int, int)
Writes any remaining output to the output buffer and resets the converter to its initial state.
 o reset()
Resets converter to its initial state.

Variables

 o maximumDesignatorLength
 protected final byte maximumDesignatorLength
 o SODesignator
 protected String SODesignator
 o SS2Designator
 protected String SS2Designator
 o SS3Designator
 protected String SS3Designator
 o codeConverter
 protected CharToByteConverter codeConverter

Constructors

 o CharToByteISO2022
 public CharToByteISO2022()

Methods

 o flush
 public int flush(byte 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 CharToByteConverter
 o reset
 public void reset()
Resets converter to its initial state.

Overrides:
reset in class CharToByteConverter
 o canConvert
 public boolean canConvert(char ch)
Returns true if the given character can be converted to the target character encoding.

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

Overrides:
convert in class CharToByteConverter

All Packages  Class Hierarchy  This Package  Previous  Next  Index