protected static class

IBM1381.Encoder

extends CharsetEncoder
java.lang.Object
   ↳ java.nio.charset.CharsetEncoder
     ↳ sun.nio.cs.ext.IBM1381.Encoder

Summary

Constants
char REPLACE_CHAR
Fields
protected short[] index1
protected String index2
protected String index2a
protected int mask1
protected int mask2
protected int shift
Public Constructors
IBM1381.Encoder(Charset cs)
Protected Constructors
IBM1381.Encoder(Charset cs, short[] modIdx1, String modIdx2a)
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)
[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

Public Constructors

public IBM1381.Encoder (Charset cs)

Protected Constructors

protected IBM1381.Encoder (Charset cs, short[] modIdx1, String modIdx2a)

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)