java.nio.charset

Class CoderResult

public class CoderResult extends Object

Since: 1.4

Field Summary
static CoderResultOVERFLOW
static CoderResultUNDERFLOW
Method Summary
booleanisError()
booleanisMalformed()
booleanisOverflow()
booleanisUnderflow()
booleanisUnmappable()
intlength()
static CoderResultmalformedForLength(int length)
voidthrowException()
StringtoString()
static CoderResultunmappableForLength(int length)

Field Detail

OVERFLOW

public static final CoderResult OVERFLOW

UNDERFLOW

public static final CoderResult UNDERFLOW

Method Detail

isError

public boolean isError()

isMalformed

public boolean isMalformed()

isOverflow

public boolean isOverflow()

isUnderflow

public boolean isUnderflow()

isUnmappable

public boolean isUnmappable()

length

public int length()

malformedForLength

public static CoderResult malformedForLength(int length)

throwException

public void throwException()

toString

public String toString()

unmappableForLength

public static CoderResult unmappableForLength(int length)