Home » openjdk-7 » java » net » [javadoc | source]
public interface: Decompressor [javadoc | source]

All Known Implementing Classes:

This interface models the common methods that every decompressor must provide in order to be used as a "plugin" into the decompression layer. The interface scheme is based on the Inflater class, the standard decompression engine available in every JVM. If you want to provide a new decompression engine, you have to implement this interface and pass the class name as the property decompressor:
java -Ddecompressor=java.net.InflatingDecompressor ....
Method from java.net.Decompressor Summary:
end,   finished,   getAdler,   getRemaining,   getTotalIn,   getTotalOut,   inflate,   inflate,   needsDictionary,   needsInput,   reset,   setDictionary,   setDictionary,   setInput,   setInput
Method from java.net.Decompressor Detail:
 public  void end()
 public boolean finished()
 public int getAdler()
 public int getRemaining()
 public int getTotalIn()
 public int getTotalOut()
 public int inflate(byte[] b) throws DataFormatException
 public int inflate(byte[] b,
    int off,
    int len) throws DataFormatException
 public boolean needsDictionary()
 public boolean needsInput()
 public  void reset()
 public  void setDictionary(byte[] dic)
 public  void setDictionary(byte[] dic,
    int off,
    int len)
 public  void setInput(byte[] b)
 public  void setInput(byte[] b,
    int off,
    int len)