com.jaxfront.core.util.io
Class ZIPDeCompressor

java.lang.Object
  extended by com.jaxfront.core.util.io.ZIPDeCompressor

public class ZIPDeCompressor
extends java.lang.Object


Constructor Summary
ZIPDeCompressor(java.io.InputStream inStream)
           
 
Method Summary
 void close()
           
 java.util.zip.ZipEntry getFirstZipEntry()
           
 java.util.zip.ZipInputStream getInputStream()
           
 void getZipEntry(java.lang.String id)
           
 void setBufferSize(int size)
           
static byte[] unzip(byte[] value)
           
 java.io.ByteArrayOutputStream write()
           
 void write(java.io.OutputStream outStream)
           
 void writeConverted(java.io.OutputStreamWriter outStream, java.lang.String sourceEncoding)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZIPDeCompressor

public ZIPDeCompressor(java.io.InputStream inStream)
Method Detail

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

getFirstZipEntry

public java.util.zip.ZipEntry getFirstZipEntry()

getInputStream

public java.util.zip.ZipInputStream getInputStream()

getZipEntry

public void getZipEntry(java.lang.String id)
                 throws java.io.IOException
Throws:
java.io.IOException

setBufferSize

public void setBufferSize(int size)

unzip

public static byte[] unzip(byte[] value)
                    throws java.io.IOException
Throws:
java.io.IOException

write

public java.io.ByteArrayOutputStream write()
                                    throws java.io.IOException
Throws:
java.io.IOException

write

public void write(java.io.OutputStream outStream)
           throws java.io.IOException
Throws:
java.io.IOException

writeConverted

public void writeConverted(java.io.OutputStreamWriter outStream,
                           java.lang.String sourceEncoding)
                    throws java.io.IOException
Throws:
java.io.IOException