java.lang.Object | |||||
↳ | sun.io.ByteToCharConverter | ||||
↳ | sun.io.ByteToCharDoubleByte | ||||
↳ | sun.io.ByteToCharJIS0208 | ||||
↳ | sun.io.ByteToCharEUC_JP | ||||
↳ | sun.io.ByteToCharEUC_JP_Solaris |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Converts sequences of bytes to characters.
| |||||||||||
Writes any remaining output to the output buffer and resets the
converter to its initial state.
| |||||||||||
Returns the character set id for the conversion
| |||||||||||
Resets the converter.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Converts sequences of bytes to characters. Conversions that result in Exceptions can be restarted by calling convert again, with appropriately modified parameters.
input | byte array containing text in Double/single Byte |
---|---|
inOff | begin conversion at this offset in input array. |
inEnd | offset of last byte to be converted |
output | character 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 | char array to receive flushed output. |
---|---|
outStart | start writing to output array at this offset. |
outEnd | stop writing to output array at this offset (exclusive). |
MalformedInputException |
---|
Resets the converter. Call this method to reset the converter to its initial state