protected static class

HKSCS_2001.Encoder

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

Summary

Public Constructors
HKSCS_2001.Encoder(Charset cs)
Protected Methods
byte[] encodeSurrogate(char high, char low)
Protected method which should be overridden by concrete DBCS CharsetEncoder classes which included supplementary characters within their mapping coverage.
int searchTabSurr(char code1, char code2, String table)
Perform a binary search within the sorted array of surrogate values to locate the position of the native two byte value equivalent encoded using Shift_JIS encoding scheme
[Expand]
Inherited Methods
From class sun.nio.cs.ext.DoubleByteEncoder
From class java.nio.charset.CharsetEncoder
From class java.lang.Object

Public Constructors

public HKSCS_2001.Encoder (Charset cs)

Protected Methods

protected byte[] encodeSurrogate (char high, char low)

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.

protected int searchTabSurr (char code1, char code2, String table)

Perform a binary search within the sorted array of surrogate values to locate the position of the native two byte value equivalent encoded using Shift_JIS encoding scheme