|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--compress.BitsToFile
Behavior class. Writes vectors of bits to a file.
Field Summary | |
(package private) java.io.FileOutputStream |
_fstreamOut
|
(package private) int |
_offset
|
(package private) int |
_offsetIncrementor
|
(package private) int[] |
_singleByte
|
Constructor Summary | |
(package private) |
BitsToFile(java.io.FileOutputStream fstreamOut)
Constructor. |
Method Summary | |
(package private) void |
execute(java.util.Vector oneCode)
Writes a vector of bits to the file. |
(package private) int |
finishUp()
When we get to the end of a file, we need to write the last vector, even though it may not be full. |
Methods inherited from class java.lang.Object |
|
Field Detail |
java.io.FileOutputStream _fstreamOut
int _offset
int _offsetIncrementor
int[] _singleByte
Constructor Detail |
BitsToFile(java.io.FileOutputStream fstreamOut)
FileOutputStream
- The stream to the file you want to
write to.Method Detail |
int finishUp()
void execute(java.util.Vector oneCode)
Vector
- The vector of bits to write to the file.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |