Java java.nio.charset CoderResult fields, constructors, methods, implement or subclass

Example usage for Java java.nio.charset CoderResult fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.nio.charset CoderResult.

The text is from its open source code.

Field

intlength
CoderResultUNDERFLOW
Result object indicating underflow, meaning that either the input buffer has been completely consumed or, if the input buffer is not yet empty, that additional input is required.
CoderResultOVERFLOW
Result object indicating overflow, meaning that there is insufficient room in the output buffer.

Method

booleanisError()
Tells whether or not this object describes an error condition.
booleanisMalformed()
Tells whether or not this object describes a malformed-input error.
booleanisOverflow()
Tells whether or not this object describes an overflow condition.
booleanisUnderflow()
Tells whether or not this object describes an underflow condition.
booleanisUnmappable()
Tells whether or not this object describes an unmappable-character error.
voidthrowException()
Throws an exception appropriate to the result described by this object.