org.extex.io.charsets
Class TableDecoder

java.lang.Object
  extended by java.nio.charset.CharsetDecoder
      extended by org.extex.io.charsets.TableDecoder

public class TableDecoder
extends java.nio.charset.CharsetDecoder

This class provides a table-based CharsetDecoder.

Version:
$Revision: 6414 $
Author:
Gerd Neugebauer

Constructor Summary
TableDecoder(java.nio.charset.Charset cs, char[] table)
          Creates a new object.
 
Method Summary
protected  java.nio.charset.CoderResult decodeLoop(java.nio.ByteBuffer in, java.nio.CharBuffer out)
          
 
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

TableDecoder

public TableDecoder(java.nio.charset.Charset cs,
                    char[] table)
Creates a new object.

Parameters:
cs - the character set
table - the table
Method Detail

decodeLoop

protected java.nio.charset.CoderResult decodeLoop(java.nio.ByteBuffer in,
                                                  java.nio.CharBuffer out)

Specified by:
decodeLoop in class java.nio.charset.CharsetDecoder
See Also:
CharsetDecoder.decodeLoop(java.nio.ByteBuffer, java.nio.CharBuffer)