a3
Interface Codec

All Known Implementing Classes:
IdentityCodec, Rot13

public interface Codec

This interface can be implemented by modules that compress and decompress data.

Author:
Dexter

Method Summary
 void compress(java.io.File input, java.io.File output)
          Compresses data from the input file, writes the compressed data to the output file.
 void decompress(java.io.File input, java.io.File output)
          Decompresses data from the input file, writes the decompressed data to the output file.
 

Method Detail

compress

void compress(java.io.File input,
              java.io.File output)
              throws java.io.IOException
Compresses data from the input file, writes the compressed data to the output file.

Throws:
java.io.IOException

decompress

void decompress(java.io.File input,
                java.io.File output)
                throws java.io.IOException
Decompresses data from the input file, writes the decompressed data to the output file.

Throws:
java.io.IOException