public class TCoderResult extends Object
Modifier and Type | Field and Description |
---|---|
static TCoderResult |
OVERFLOW |
static TCoderResult |
UNDERFLOW |
Modifier and Type | Method and Description |
---|---|
boolean |
isError() |
boolean |
isMalformed() |
boolean |
isOverflow() |
boolean |
isUnderflow() |
boolean |
isUnmappable() |
int |
length() |
static TCoderResult |
malformedForLength(int length) |
void |
throwException() |
String |
toString() |
static TCoderResult |
unmappableForLength(int length) |
public static final TCoderResult UNDERFLOW
public static final TCoderResult OVERFLOW
public boolean isUnderflow()
public boolean isOverflow()
public boolean isError()
public boolean isMalformed()
public boolean isUnmappable()
public int length()
public static TCoderResult malformedForLength(int length)
public static TCoderResult unmappableForLength(int length)
public void throwException() throws TCharacterCodingException
TCharacterCodingException
Copyright © 2019. All rights reserved.