Class UTF7Charset.Decoder

java.lang.Object
java.nio.charset.CharsetDecoder
net.freeutils.charset.UTF7Charset.Decoder
Enclosing class:
UTF7Charset

protected class UTF7Charset.Decoder extends CharsetDecoder
The Decoder inner class handles the decoding of the UTF7 charset.
  • Constructor Details

    • Decoder

      protected Decoder(Charset cs)
      Constructs a Decoder.
      Parameters:
      cs - the charset to which this decoder belongs
  • Method Details

    • implReset

      protected void implReset()
      Resets this decoder, clearing any charset-specific internal state.
      Overrides:
      implReset in class CharsetDecoder
    • decodeLoop

      protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out)
      Decodes one or more bytes into one or more characters.
      Specified by:
      decodeLoop in class CharsetDecoder
      Parameters:
      in - the input byte buffer
      out - the output character buffer
      Returns:
      a coder-result object describing the reason for termination