Class MAMDecode
java.lang.Object
MAMDecode
- All Implemented Interfaces:
- Codec
public class MAMDecode
- extends Object
- implements Codec
Decoding for the artimetic coding.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
model
private ArithmeticModel model
MAMDecode
public MAMDecode()
MAMDecode
public MAMDecode(ArithmeticModel mod)
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
Copyright © 2007 Aija Niissalo, Marko Laakso, Markus Heinonen.