jremote jbase5.2.1

com.jbase.jremote.io.charset
Class JbaseCharsetDecoder

java.lang.Object
  extended by java.nio.charset.CharsetDecoder
      extended by com.jbase.jremote.io.charset.JbaseCharsetDecoder

public class JbaseCharsetDecoder
extends java.nio.charset.CharsetDecoder

An engine that can transform a sequence of bytes in a jBASE charset into a sequence of sixteen-bit Unicode characters.

  • 0xfe to Unicode code point 0x00FE.
  • 0xfd to Unicode code point 0x00FD.
  • 0xfc to Unicode code point 0x00FC.

    Author:
    aphethean

    Constructor Summary
    protected JbaseCharsetDecoder(JbaseCharset charset)
               
     
    Method Summary
    protected  java.nio.ByteBuffer checkBuffer(java.nio.ByteBuffer buffer, int newDataLength)
               
    protected  java.nio.charset.CoderResult decodeLoop(java.nio.ByteBuffer inBytesBuffer, java.nio.CharBuffer outCharBuffer)
              Convert the incoming jBASE bytes into Unicode char buffer
     
    Methods inherited from class java.nio.charset.CharsetDecoder
    averageCharsPerByte, charset, decode, decode, detectedCharset, flush, implFlush, implOnMalformedInput, implOnUnmappableCharacter, implReplaceWith, implReset, 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

    JbaseCharsetDecoder

    protected JbaseCharsetDecoder(JbaseCharset charset)
    Method Detail

    decodeLoop

    protected java.nio.charset.CoderResult decodeLoop(java.nio.ByteBuffer inBytesBuffer,
                                                      java.nio.CharBuffer outCharBuffer)
    Convert the incoming jBASE bytes into Unicode char buffer

    Specified by:
    decodeLoop in class java.nio.charset.CharsetDecoder

    checkBuffer

    protected java.nio.ByteBuffer checkBuffer(java.nio.ByteBuffer buffer,
                                              int newDataLength)

    jremote jbase5.2.1

    Copyright © 2010 TEMENOS. All Rights Reserved.