|
Spreadsheet Toolkit | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--corpus.fileIO.Unzip
http://www.javaworld.com/javaworld/jw-11-1998/jw-11-howto-p2.html
Zip,
ZipInfo,
FileIO.byteA_to_object_zip(byte[])| Constructor Summary | |
Unzip(java.io.InputStream is)
The zipfile will be read from the supplied InputStream |
|
Unzip(java.lang.String path)
The zipfile will be read from file on the end of the path |
|
Unzip(java.util.zip.ZipFile zipfile)
Reads out all zip entries and checks read byte size equals recorded byte size. |
|
| Method Summary | |
java.util.Vector |
getData()
Returns a Vector of elements that were read from the file. |
static void |
main(java.lang.String[] rgstring)
Run some decompression tests |
java.lang.String |
showEntries(java.util.zip.ZipFile zipfile)
Returns a list of the elements in the Zip file. |
static byte[] |
uncompress(byte[] data)
Given a byte array will return the uncompressed zip version. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Unzip(java.lang.String path)
throws java.io.FileNotFoundException,
java.io.IOException
public Unzip(java.io.InputStream is)
public Unzip(java.util.zip.ZipFile zipfile)
throws java.io.IOException
| Method Detail |
public java.util.Vector getData()
public java.lang.String showEntries(java.util.zip.ZipFile zipfile)
public static byte[] uncompress(byte[] data)
throws java.io.IOException
java.io.IOException
public static void main(java.lang.String[] rgstring)
throws java.lang.Exception
java.lang.Exception
|
Spreadsheet Toolkit | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||