MAM API
(developer's version)

Class MAMDecode

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

public class MAMDecode
extends Object
implements Codec

Decoding for the artimetic coding.


Field Summary
private  ArithmeticModel model
           
 
Constructor Summary
MAMDecode()
           
MAMDecode(ArithmeticModel mod)
           
 
Method Summary
static void main(String[] argv)
           
 void processTransformation(InputStream in, OutputStream o)
          Performs a transformation to the given input and writes the corresponding output to the given stream.
 void setModel(ArithmeticModel mod)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model

private ArithmeticModel model
Constructor Detail

MAMDecode

public MAMDecode()

MAMDecode

public MAMDecode(ArithmeticModel mod)
Method Detail

setModel

public void setModel(ArithmeticModel mod)

processTransformation

public void processTransformation(InputStream in,
                                  OutputStream o)
                           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

main

public static void main(String[] argv)
                 throws IOException
Throws:
IOException

MAM API
(developer's version)

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