MAM API
(developer's version)

Class M2FDecode

java.lang.Object
  extended by M2FDecode
All Implemented Interfaces:
Codec

public class M2FDecode
extends Object
implements Codec

Move-to-front transformation decoding code.


Constructor Summary
M2FDecode()
           
 
Method Summary
private static void adjust(byte[] table, int index)
           
 void processTransformation(InputStream in, OutputStream out)
          Performs a transformation to the given input and writes the corresponding output to the given stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

M2FDecode

public M2FDecode()
Method Detail

processTransformation

public void processTransformation(InputStream in,
                                  OutputStream out)
                           throws IOException
Description copied from interface: Codec
Performs a transformation to the given input and writes the corresponding output to the given stream.

Specified by:
processTransformation in interface Codec
Throws:
IOException

adjust

private static void adjust(byte[] table,
                           int index)

MAM API
(developer's version)

Copyright © 2007 Aija Niissalo, Marko Laakso, Markus Heinonen.