com.beetstra.jutf7
Class UTF7StyleCharsetDecoder

java.lang.Object
  extended by java.nio.charset.CharsetDecoder
      extended by com.beetstra.jutf7.UTF7StyleCharsetDecoder

 class UTF7StyleCharsetDecoder
extends CharsetDecoder

The CharsetDecoder used to decode both variants of the UTF-7 charset and the modified-UTF-7 charset.

Author:
Jaap Beetstra

Constructor Summary
UTF7StyleCharsetDecoder(UTF7StyleCharset cs, Base64Util base64, boolean strict)
           
 
Method Summary
protected  CoderResult decodeLoop(ByteBuffer in, CharBuffer out)
           
protected  CoderResult implFlush(CharBuffer out)
           
protected  void implReset()
           
 
Methods inherited from class java.nio.charset.CharsetDecoder
averageCharsPerByte, charset, decode, decode, detectedCharset, flush, implOnMalformedInput, implOnUnmappableCharacter, implReplaceWith, isAutoDetecting, isCharsetDetected, malformedInputAction, maxCharsPerByte, onMalformedInput, onUnmappableCharacter, replacement, replaceWith, reset, unmappableCharacterAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UTF7StyleCharsetDecoder

UTF7StyleCharsetDecoder(UTF7StyleCharset cs,
                        Base64Util base64,
                        boolean strict)
Method Detail

decodeLoop

protected CoderResult decodeLoop(ByteBuffer in,
                                 CharBuffer out)
Specified by:
decodeLoop in class CharsetDecoder

implFlush

protected CoderResult implFlush(CharBuffer out)
Overrides:
implFlush in class CharsetDecoder

implReset

protected void implReset()
Overrides:
implReset in class CharsetDecoder


Copyright © 2008 sourceforge. All Rights Reserved.