Save This Page
Home » openjdk-7 » java » nio » charset » [javadoc | source]
java.nio.charset
abstract public class: CharsetDecoder [javadoc | source]
java.lang.Object
   java.nio.charset.CharsetDecoder
Constructor:
 protected CharsetDecoder(Charset cs,
    float averageCharsPerByte,
    float maxCharsPerByte) 
Method from java.nio.charset.CharsetDecoder Summary:
averageCharsPerByte,   charset,   decode,   decode,   decodeLoop,   detectedCharset,   flush,   implFlush,   implOnMalformedInput,   implOnUnmappableCharacter,   implReplaceWith,   implReset,   isAutoDetecting,   isCharsetDetected,   malformedInputAction,   maxCharsPerByte,   onMalformedInput,   onUnmappableCharacter,   replaceWith,   replacement,   reset,   unmappableCharacterAction
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.nio.charset.CharsetDecoder Detail:
 public final float averageCharsPerByte() 
 public final Charset charset() 
 public final CharBuffer decode(ByteBuffer in) throws CharacterCodingException 
 public final CoderResult decode(ByteBuffer in,
    CharBuffer out,
    boolean endOfInput) 
 abstract protected CoderResult decodeLoop(ByteBuffer in,
    CharBuffer out)
 public Charset detectedCharset() 
 public final CoderResult flush(CharBuffer out) 
 protected CoderResult implFlush(CharBuffer out) 
 protected  void implOnMalformedInput(CodingErrorAction newAction) 
 protected  void implOnUnmappableCharacter(CodingErrorAction newAction) 
 protected  void implReplaceWith(String newReplacement) 
 protected  void implReset() 
 public boolean isAutoDetecting() 
 public boolean isCharsetDetected() 
 public CodingErrorAction malformedInputAction() 
 public final float maxCharsPerByte() 
 public final CharsetDecoder onMalformedInput(CodingErrorAction newAction) 
 public final CharsetDecoder onUnmappableCharacter(CodingErrorAction newAction) 
 public final CharsetDecoder replaceWith(String newReplacement) 
 public final String replacement() 
 public final CharsetDecoder reset() 
 public CodingErrorAction unmappableCharacterAction()