Example usage for Java java.nio.charset CoderResult fields, constructors, methods, implement or subclass
The text is from its open source code.
int | length |
CoderResult | UNDERFLOW 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. |
CoderResult | OVERFLOW Result object indicating overflow, meaning that there is insufficient room in the output buffer. |
boolean | isError() Tells whether or not this object describes an error condition. |
boolean | isMalformed() Tells whether or not this object describes a malformed-input error. |
boolean | isOverflow() Tells whether or not this object describes an overflow condition. |
boolean | isUnderflow() Tells whether or not this object describes an underflow condition. |
boolean | isUnmappable() Tells whether or not this object describes an unmappable-character error. |
void | throwException() Throws an exception appropriate to the result described by this object. |