|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrabbit.zip.GZipPacker
public class GZipPacker
A class that can pack gzip streams in chunked mode.
| Constructor Summary | |
|---|---|
GZipPacker(GZipPackListener listener)
Create a gzip packer that sends events to the given listener. |
|
| Method Summary | |
|---|---|
void |
finish()
Tell the packer that it has reached the end of data. |
boolean |
finished()
Check if the packer is finished. |
void |
handleCurrentData()
Handle the next block of the current data. |
boolean |
needsInput()
Check if the unpacker currently needs more data |
void |
setInput(byte[] buf,
int off,
int len)
Add more compressed data to the unpacker. |
void |
setState(rabbit.zip.GZipPackState state)
Change the internal gzip state to the given state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GZipPacker(GZipPackListener listener)
| Method Detail |
|---|
public boolean needsInput()
public void setInput(byte[] buf,
int off,
int len)
public void finish()
public boolean finished()
public void handleCurrentData()
public void setState(rabbit.zip.GZipPackState state)
state - the new internal state of the gzip packer.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||