public class SimpleZipReader
extends java.lang.Object
Constructor and Description |
---|
SimpleZipReader() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getEntry(java.lang.String sName)
Get an entry from the ZIP file.
|
void |
read(java.io.InputStream is)
Read a zipped stream
|
public void read(java.io.InputStream is) throws java.io.IOException
is
- InputStream
to readjava.io.IOException
- if an I/O error occurspublic byte[] getEntry(java.lang.String sName)
SimpleZipReader
removes the entry from the
collection when this method is called (memory optimization).sName
- the name (path) of the ZIP entry