java.lang.Object | ||
↳ | sun.io.CharToByteConverter | |
↳ | sun.io.CharToByteDBCS_EBCDIC |
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
index1 | |||||||||||
index2 | |||||||||||
index2a | |||||||||||
mask1 | |||||||||||
mask2 | |||||||||||
shift |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns true if the given character can be converted to the
target character encoding.
| |||||||||||
Character conversion
| |||||||||||
flush out any residual data and reset the buffer state
| |||||||||||
Returns the maximum number of bytes needed to convert a char.
| |||||||||||
Resets converter to its initial state.
| |||||||||||
Sets the substitution bytes to use when the converter is in
substitution mode.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Returns true if the given character can be converted to the target character encoding.
ch | character to test |
---|
Character conversion
input | array containing Unicode characters to be converted. |
---|---|
inOff | begin conversion at this offset in input array. |
inEnd | stop conversion at this offset in input array (exclusive). |
output | byte array to receive conversion result. |
outOff | start writing to output array at this offset. |
outEnd | stop writing to output array at this offset (exclusive). |
flush out any residual data and reset the buffer 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 converter to its initial state.
Sets the substitution bytes to use when the converter is in substitution mode. The given bytes should represent a valid character in the target character encoding.
newSubBytes | the substitution bytes |
---|
IllegalArgumentException |
---|