|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--compress.ReadIn
This class reads in a file and puts the letters and relative frequencies into a vector. It then writes the dictionary to the output file.
| Field Summary | |
(package private) static ReadIn |
Singleton
|
| Constructor Summary | |
(package private) |
ReadIn()
|
| Method Summary | |
(package private) void |
execute(java.io.FileInputStream fstreamIn,
java.io.FileOutputStream fstreamOut,
java.util.Vector codeVector)
This method comprises the entire behavior of the class. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
static final ReadIn Singleton
| Constructor Detail |
ReadIn()
| Method Detail |
void execute(java.io.FileInputStream fstreamIn,
java.io.FileOutputStream fstreamOut,
java.util.Vector codeVector)
FileInputStream - The input stream from the file to be encodedFileOutputStream - The output stream for the encoded fileVector - The vector to be made into a vector of letters and
relative frequencies.
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||