|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--compress.CompressAlgo
|
+--compress.Arithmetic
Implements arithmetic compression.
| Field Summary | |
static Arithmetic |
Singleton
|
| Constructor Summary | |
private |
Arithmetic()
|
| Method Summary | |
java.io.File |
decode(java.io.File fileIn)
Decodes the given file. |
java.io.File |
encode(java.io.File fileIn)
Encodes fileIn using Arithmetic coding and gives back the encoded file with a .cac attatched to the name. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public static final Arithmetic Singleton
| Constructor Detail |
private Arithmetic()
| Method Detail |
public java.io.File encode(java.io.File fileIn)
encode in class CompressAlgoFile - The file to be encodedpublic java.io.File decode(java.io.File fileIn)
CompressAlgodecode in class CompressAlgocompress.CompressAlgoFile - the file to be decoded.
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||