| Modifier and Type | Class and Description |
|---|---|
| protected static class | |
| protected static class |
| Modifier and Type | Field and Description |
|---|---|
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| BIG | back to summary |
|---|---|
| protected static final int BIG | |
| BOM_BIG | back to summary |
|---|---|
| protected static final int BOM_BIG | |
| BOM_LITTLE | back to summary |
|---|---|
| protected static final int BOM_LITTLE | |
| LITTLE | back to summary |
|---|---|
| protected static final int LITTLE | |
| NONE | back to summary |
|---|---|
| protected static final int NONE | |
| UTF_32Coder | back to summary |
|---|---|
| pack-priv UTF_32Coder() | |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int |
| Modifier and Type | Method and Description |
|---|---|
| protected CoderResult | decodeLoop(ByteBuffer src, CharBuffer dst)
Implements abstract java. Decodes one or more bytes into one or more characters. |
| private int | |
| protected void | implReset()
Overrides java. Resets this decoder, clearing any charset-specific internal state. |
| currentBO | back to summary |
|---|---|
| private int currentBO | |
| expectedBO | back to summary |
|---|---|
| private int expectedBO | |
| Decoder | back to summary |
|---|---|
| protected Decoder(Charset cs, int bo) | |
| decodeLoop | back to summary |
|---|---|
| protected CoderResult decodeLoop(ByteBuffer src, CharBuffer dst) Implements abstract java. Doc from java. Decodes one or more bytes into one or more characters. This method encapsulates the basic decoding loop, decoding as many
bytes as possible until it either runs out of input, runs out of room
in the output buffer, or encounters a decoding 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 | |
| getCP | back to summary |
|---|---|
| private int getCP(ByteBuffer src) | |
| implReset | back to summary |
|---|---|
| protected void implReset() Overrides java. Doc from java. Resets this decoder, clearing any charset-specific internal state. The default implementation of this method does nothing. This method should be overridden by decoders that maintain internal state. | |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private boolean | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canEncode(char c)
Overrides java. Tells whether or not this encoder can encode the given character. |
| public boolean | canEncode(CharSequence cs)
Overrides java. Tells whether or not this encoder can encode the given character sequence. |
| 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. |
| protected void |
| byteOrder | back to summary |
|---|---|
| private int byteOrder | |
| doBOM | back to summary |
|---|---|
| private boolean doBOM | |
| doneBOM | back to summary |
|---|---|
| private boolean doneBOM | |
| Encoder | back to summary |
|---|---|
| protected Encoder(Charset cs, int byteOrder, boolean doBOM) | |
| 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. | |
| canEncode | back to summary |
|---|---|
| public boolean canEncode(CharSequence cs) Overrides java. Doc from java. Tells whether or not this encoder can encode the given character sequence. If 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. | |
| 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. | |
| put | back to summary |
|---|---|
| protected void put(int cp, ByteBuffer dst) | |