java.nio.charset
Class CoderResult
java.lang.Object
java.nio.charset.CoderResult
public class CoderResult
- extends Object
- Since:
- 1.4
OVERFLOW
public static final CoderResult OVERFLOW
UNDERFLOW
public static final CoderResult UNDERFLOW
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()
throws CharacterCodingException
- Throws:
CharacterCodingException
toString
public String toString()
- Description copied from class:
Object
- toString creates a printable string that represents this object
for debugging purposes.
The default implementation returns getClass().getName() + '@' +
Integer.toHexString(hashCode()).
- Overrides:
toString in class Object
- Returns:
- a string identifying this object.
unmappableForLength
public static CoderResult unmappableForLength(int length)
aicas GmbH, Karlsruhe - Germany www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.