rabbit.zip
Class GZipPacker

java.lang.Object
  extended by rabbit.zip.GZipPacker

public class GZipPacker
extends Object

A class that can pack gzip streams in chunked mode.

Author:
Robert Olofsson

Constructor Summary
GZipPacker(GZipPackListener listener)
           
 
Method Summary
 void finish()
           
 boolean 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GZipPacker

public GZipPacker(GZipPackListener listener)
Method Detail

needsInput

public boolean needsInput()
Check if the unpacker currently needs more data


setInput

public void setInput(byte[] buf,
                     int off,
                     int len)
Add more compressed data to the unpacker.


finish

public void finish()

finished

public boolean finished()

handleCurrentData

public void handleCurrentData()
Handle the next block of the current data.


setState

public void setState(rabbit.zip.GZipPackState state)