public abstract class

DBCS_IBM_EBCDIC_Encoder

extends CharsetEncoder
java.lang.Object
   ↳ java.nio.charset.CharsetEncoder
     ↳ sun.nio.cs.ext.DBCS_IBM_EBCDIC_Encoder
Known Direct Subclasses

Class Overview

An abstract base class for subclasses which encodes IBM double byte host encodings such as ibm code pages 942,943,948, etc.

Summary

Constants
char REPLACE_CHAR
Fields
protected short[] index1
protected String index2
protected String index2a
protected int mask1
protected int mask2
protected int shift
Protected Constructors
DBCS_IBM_EBCDIC_Encoder(Charset cs)
Public Methods
boolean canEncode(char ch)
Returns true if the given character can be converted to the target character encoding.
Protected Methods
CoderResult encodeLoop(CharBuffer src, ByteBuffer dst)
CoderResult implFlush(ByteBuffer out)
void implReset()
[Expand]
Inherited Methods
From class java.nio.charset.CharsetEncoder
From class java.lang.Object

Constants

protected static final char REPLACE_CHAR

Constant Value: 65533 (0x0000fffd)

Fields

protected short[] index1

protected String index2

protected String index2a

protected int mask1

protected int mask2

protected int shift

Protected Constructors

protected DBCS_IBM_EBCDIC_Encoder (Charset cs)

Public Methods

public boolean canEncode (char ch)

Returns true if the given character can be converted to the target character encoding.

Protected Methods

protected CoderResult encodeLoop (CharBuffer src, ByteBuffer dst)

protected CoderResult implFlush (ByteBuffer out)

protected void implReset ()