java.lang.Object | ||||
↳ | sun.io.CharToByteConverter | |||
↳ | sun.io.CharToByteDoubleByte | |||
↳ | sun.io.CharToByteJIS0208 | |||
↳ | sun.io.CharToByteISO2022JP |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
subBytesEscape | Bytes for substitute for unmappable input. | ||||||||||
subBytesMode |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Converts characters to sequences of bytes.
| |||||||||||
Writes any remaining output to the output buffer and resets the
converter to its initial state.
| |||||||||||
Returns the character set id for the conversion.
| |||||||||||
returns the maximum number of bytes needed to convert a char
| |||||||||||
Resets the converter.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Bytes for substitute for unmappable input.
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). |
returns the maximum number of bytes needed to convert a char
Resets the converter. Call this method to reset the converter to its initial state