aicas logo Jamaica 3.4 release 8

java.nio.charset
Class CoderResult

java.lang.Object
  extended by java.nio.charset.CoderResult

public class CoderResult
extends Object

Since:
1.4

Field Summary
static CoderResult OVERFLOW
           
static CoderResult UNDERFLOW
           
 
Method Summary
 boolean isError()
           
 boolean isMalformed()
           
 boolean isOverflow()
           
 boolean isUnderflow()
           
 boolean isUnmappable()
           
 int length()
           
static CoderResult malformedForLength(int length)
           
 void throwException()
           
 String toString()
          toString creates a printable string that represents this object for debugging purposes.
static CoderResult unmappableForLength(int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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()
                    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 logo Jamaica 3.4 release 8

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.