java.lang.Object | ||
↳ | sun.io.CharToByteConverter | |
↳ | sun.io.CharToByteDoubleByte |
![]() |
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
highHalfZoneCode | |||||||||||
index1 | |||||||||||
index2 |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return whether a character is mappable or not
| |||||||||||
Converts characters to sequences of bytes.
| |||||||||||
Writes any remaining output to the output buffer and resets the
converter to its initial state.
| |||||||||||
the maximum number of bytes needed to hold a converted char
| |||||||||||
Resets the converter.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Return whether a character is mappable or not
ch | character to test |
---|
Converts characters to sequences of bytes. Conversions that result in Exceptions can be restarted by calling convert again, with appropriately modified parameters.
input | char array containing text in Unicode |
---|---|
inOff | begin conversion at this offset in input array. |
inEnd | offset of last byte to be converted |
output | byte array to receive conversion result |
outOff | start writing to output array at this offset. |
outEnd | offset of last byte to be written to |
Writes any remaining output to the output buffer and resets the converter to its initial state.
output | byte array to receive flushed output. |
---|---|
outStart | start writing to output array at this offset. |
outEnd | stop writing to output array at this offset (exclusive). |
the maximum number of bytes needed to hold a converted char
Resets the converter. Call this method to reset the converter to its initial state