danger.util
Class Decompressor

java.lang.Object
  |
  +--danger.util.Decompressor

public class Decompressor
extends java.lang.Object


Constructor Summary
Decompressor()
           
Decompressor(boolean nowrap)
           
 
Method Summary
 void end()
           
 boolean finished()
           
 int getRemaining()
           
 int getTotalIn()
           
 int getTotalOut()
           
 int inflate(byte[] b)
           
 int inflate(byte[] b, int off, int len)
           
 boolean needsInput()
           
 void reset()
           
 void setInput(byte[] b)
           
 void setInput(byte[] b, int off, int len)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Decompressor

public Decompressor(boolean nowrap)

Decompressor

public Decompressor()
Method Detail

setInput

public void setInput(byte[] b,
                     int off,
                     int len)

setInput

public void setInput(byte[] b)

getRemaining

public int getRemaining()

needsInput

public boolean needsInput()

finished

public boolean finished()

inflate

public int inflate(byte[] b,
                   int off,
                   int len)
            throws java.util.zip.DataFormatException

inflate

public int inflate(byte[] b)
            throws java.util.zip.DataFormatException

getTotalIn

public int getTotalIn()

getTotalOut

public int getTotalOut()

reset

public void reset()

end

public void end()


Danger Confidential. Copyright © 2000-2003, Danger Inc.