|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrabbit.zip.GZipUnpacker
public class GZipUnpacker
A class that can unpack gzip streams in chunked mode.
| Constructor Summary | |
|---|---|
GZipUnpacker(GZipUnpackListener listener,
boolean deflate)
Create a new gzip or compress unpacker. |
|
| Method Summary | |
|---|---|
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.GZipUnpackState 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 GZipUnpacker(GZipUnpackListener listener,
boolean deflate)
listener - the listener that will get the generated events.deflate - if true use plain deflate, if false use gzip.| Method Detail |
|---|
public boolean needsInput()
public void setInput(byte[] buf,
int off,
int len)
public void handleCurrentData()
public void setState(rabbit.zip.GZipUnpackState state)
state - the new internal state of the gzip unpacker.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||