| Modifier and Type | Class and Description |
|---|---|
| protected static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract CharsetDecoder | newDecoder()
Implements abstract java. Constructs a new decoder for this charset. |
| public abstract CharsetEncoder | newEncoder()
Implements abstract java. Constructs a new encoder for this charset. |
| ISO2022 | back to summary |
|---|---|
| public ISO2022(String csname, String[] aliases) | |
| newDecoder | back to summary |
|---|---|
| public abstract CharsetDecoder newDecoder() Implements abstract java. Doc from java. Constructs a new decoder for this charset. | |
| newEncoder | back to summary |
|---|---|
| public abstract CharsetEncoder newEncoder() Implements abstract java. Doc from java. Constructs a new encoder for this charset. | |
| Modifier and Type | Field and Description |
|---|---|
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| protected CharsetEncoder | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| public static final byte | |
| public static final byte | |
| private final Surrogate. | |
| private boolean | |
| private boolean | |
| protected byte[] | |
| public static final byte | |
| private boolean | |
| protected byte[] | |
| private boolean | |
| protected byte[] |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canEncode(char c)
Overrides java. Tells whether or not this encoder can encode the given character. |
| private CoderResult | |
| private CoderResult | |
| protected CoderResult | encodeLoop(CharBuffer src, ByteBuffer dst)
Implements abstract java. Encodes one or more characters into one or more bytes. |
| protected void | implReset()
Overrides java. Resets this encoder, clearing any charset-specific internal state. |
| private int |
| ISO_ESC | back to summary |
|---|---|
| private static final byte ISO_ESC | |
| ISO_SI | back to summary |
|---|---|
| private static final byte ISO_SI | |
| ISO_SO | back to summary |
|---|---|
| private static final byte ISO_SO | |
| ISO_SS2_7 | back to summary |
|---|---|
| private static final byte ISO_SS2_7 | |
| ISO_SS3_7 | back to summary |
|---|---|
| private static final byte ISO_SS3_7 | |
| ISOEncoder | back to summary |
|---|---|
| protected CharsetEncoder ISOEncoder | |
| newshiftout | back to summary |
|---|---|
| private boolean newshiftout | |
| newSODesDefined | back to summary |
|---|---|
| private boolean newSODesDefined | |
| newSS2DesDefined | back to summary |
|---|---|
| private boolean newSS2DesDefined | |
| newSS3DesDefined | back to summary |
|---|---|
| private boolean newSS3DesDefined | |
| PLANE2 | back to summary |
|---|---|
| public static final byte PLANE2 | |
| PLANE3 | back to summary |
|---|---|
| public static final byte PLANE3 | |
| sgp | back to summary |
|---|---|
| private final Surrogate. | |
| shiftout | back to summary |
|---|---|
| private boolean shiftout | |
| SODesDefined | back to summary |
|---|---|
| private boolean SODesDefined | |
| SODesig | back to summary |
|---|---|
| protected byte[] SODesig | |
| SS2 | back to summary |
|---|---|
| public static final byte SS2 | |
| SS2DesDefined | back to summary |
|---|---|
| private boolean SS2DesDefined | |
| SS2Desig | back to summary |
|---|---|
| protected byte[] SS2Desig | |
| SS3DesDefined | back to summary |
|---|---|
| private boolean SS3DesDefined | |
| SS3Desig | back to summary |
|---|---|
| protected byte[] SS3Desig | |
| Encoder | back to summary |
|---|---|
| protected Encoder(Charset cs) | |
| canEncode | back to summary |
|---|---|
| public boolean canEncode(char c) Overrides java. Doc from java. Tells whether or not this encoder can encode the given character. This method returns This method may modify this encoder's state; it should therefore not be invoked if an encoding operation is already in progress. The default implementation of this method is not very efficient; it should generally be overridden to improve performance. | |
| encodeArrayLoop | back to summary |
|---|---|
| private CoderResult encodeArrayLoop(CharBuffer src, ByteBuffer dst) | |
| encodeBufferLoop | back to summary |
|---|---|
| private CoderResult encodeBufferLoop(CharBuffer src, ByteBuffer dst) | |
| encodeLoop | back to summary |
|---|---|
| protected CoderResult encodeLoop(CharBuffer src, ByteBuffer dst) Implements abstract java. Doc from java. Encodes one or more characters into one or more bytes. This method encapsulates the basic encoding loop, encoding as many
characters as possible until it either runs out of input, runs out of room
in the output buffer, or encounters an encoding error. This method is
invoked by the The buffers are read from, and written to, starting at their current
positions. At most This method returns a An implementation of this method may perform arbitrary lookahead by
returning | |
| implReset | back to summary |
|---|---|
| protected void implReset() Overrides java. Doc from java. Resets this encoder, clearing any charset-specific internal state. The default implementation of this method does nothing. This method should be overridden by encoders that maintain internal state. | |
| unicodeToNative | back to summary |
|---|---|
| private int unicodeToNative(char unicode, byte[] ebyte) | |