Package | Description |
---|---|
java.nio.charset |
Defines charsets, decoders, and encoders, for translating between bytes and
Unicode characters.
|
Modifier and Type | Class and Description |
---|---|
class |
MalformedInputException
Checked exception thrown when an input byte sequence is not legal for given
charset, or an input character sequence is not a legal sixteen-bit Unicode
sequence.
|
class |
UnmappableCharacterException
Checked exception thrown when an input character (or byte) sequence
is valid but cannot be mapped to an output byte (or character)
sequence.
|
Modifier and Type | Method and Description |
---|---|
CharBuffer |
CharsetDecoder.decode(ByteBuffer in)
Convenience method that decodes the remaining content of a single input
byte buffer into a newly-allocated character buffer.
|
ByteBuffer |
CharsetEncoder.encode(CharBuffer in)
Convenience method that encodes the remaining content of a single input
character buffer into a newly-allocated byte buffer.
|
void |
CoderResult.throwException()
Throws an exception appropriate to the result described by this object.
|
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.