public abstract class

DoubleByteEncoder

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

Summary

Protected Constructors
DoubleByteEncoder(Charset cs, short[] index1, String[] index2)
DoubleByteEncoder(Charset cs, short[] index1, String[] index2, float avg, float max)
DoubleByteEncoder(Charset cs, short[] index1, String[] index2, byte[] repl)
DoubleByteEncoder(Charset cs, short[] index1, String[] index2, byte[] repl, float avg, float max)
Public Methods
boolean canEncode(char c)
Protected Methods
int encodeDouble(char ch)
CoderResult encodeLoop(CharBuffer src, ByteBuffer dst)
int encodeSingle(char inputChar)
byte[] encodeSurrogate(char highSurrogate, char lowSurrogate)
Protected method which should be overridden by concrete DBCS CharsetEncoder classes which included supplementary characters within their mapping coverage.
[Expand]
Inherited Methods
From class java.nio.charset.CharsetEncoder
From class java.lang.Object

Protected Constructors

protected DoubleByteEncoder (Charset cs, short[] index1, String[] index2)

protected DoubleByteEncoder (Charset cs, short[] index1, String[] index2, float avg, float max)

protected DoubleByteEncoder (Charset cs, short[] index1, String[] index2, byte[] repl)

protected DoubleByteEncoder (Charset cs, short[] index1, String[] index2, byte[] repl, float avg, float max)

Public Methods

public boolean canEncode (char c)

Protected Methods

protected int encodeDouble (char ch)

protected CoderResult encodeLoop (CharBuffer src, ByteBuffer dst)

protected int encodeSingle (char inputChar)

protected byte[] encodeSurrogate (char highSurrogate, char lowSurrogate)

Protected method which should be overridden by concrete DBCS CharsetEncoder classes which included supplementary characters within their mapping coverage. null return value indicates surrogate values could not be handled or encoded.