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

Author:
SRZXUZ To change this generated comment go to Window>Preferences>Java>Code Generation>Code and Comments

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

getZipEntry

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

getFirstZipEntry

public java.util.zip.ZipEntry getFirstZipEntry()

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

write

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

setBufferSize

public void setBufferSize(int size)

close

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

getInputStream

public java.util.zip.ZipInputStream getInputStream()

unzip

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