compress
Class CompressAlgo

java.lang.Object
  |
  +--compress.CompressAlgo
Direct Known Subclasses:
Arithmetic, Huff

public abstract class CompressAlgo
extends java.lang.Object

The abstract class of compression algorithms.

Author:
Chad Cook

Constructor Summary
CompressAlgo()
           
 
Method Summary
abstract  java.io.File decode(java.io.File fileIn)
          Decodes the given file.
abstract  java.io.File encode(java.io.File fileIn)
          Encodes the given file.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

CompressAlgo

public CompressAlgo()
Method Detail

encode

public abstract java.io.File encode(java.io.File fileIn)
Encodes the given file.
Parameters:
File - The file to be encoded.
Returns:
The encoded file.

decode

public abstract java.io.File decode(java.io.File fileIn)
Decodes the given file.
Parameters:
File - the file to be decoded.
Returns:
The decoded file.