MAM API
(developer's version)

Class M2FEncode

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

public class M2FEncode
extends Object
implements Codec


Field Summary
private  int blockSize
           
 
Constructor Summary
M2FEncode()
           
 
Method Summary
private static int adjust(byte[] table, byte value)
           
 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
 

Field Detail

blockSize

private int blockSize
Constructor Detail

M2FEncode

public M2FEncode()
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 int adjust(byte[] table,
                          byte value)

MAM API
(developer's version)

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