|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.image.gif.BitToFile
public class BitToFile extends java.lang.Object
| Constructor and Description |
|---|
BitToFile(java.io.OutputStream dataOutput_)
Constructor initialize necessary values. |
| Modifier and Type | Method and Description |
|---|---|
void |
Flush()
Sends bits to output stream, if bits are in buffer. |
void |
WriteBits(int bits,
int numbits)
Sends bits to output stream, if buffer is full. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BitToFile(java.io.OutputStream dataOutput_)
dataOutput_ - output stream, where send bits.| Method Detail |
|---|
public void Flush()
throws java.io.IOException
java.io.IOException - if an I/O error occurs. In particular, an IOException
may be thrown if the output stream has been closed.
public void WriteBits(int bits,
int numbits)
throws java.io.IOException
bits - bits that must be sendnumbits - number of sending bitsjava.io.IOException - if an I/O error occurs. In particular, an IOException
may be thrown if the output stream has been closed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||