Modifier and Type | Field and Description |
---|---|
static int |
EOF
Class Holder for an EOF flag
|
ZipFile |
zf
The ZipFile that will get unzipped
|
Constructor and Description |
---|
UnZipper(String src)
Constructor for the UnZipper object that unzips into the current dir.
|
UnZipper(String src,
String des)
Constructor for the UnZipper object.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] argv)
Main entry for this calss as an application.
|
void |
saveEntry(String s,
ZipEntry target)
Extracts (unzips) the passed in ZipEntry and saves it to a file.
|
void |
unzipData(String src,
String destDir)
Description of the Method
|
public static final int EOF
UnZipper(String src, String des)
src
- Description of the Parameterdes
- Description of the Parameterpublic static void main(String[] argv)
Usage: java UnZipper ZIPFILENAME [Destination Dir]
argv
- Description of the Parameterpublic void unzipData(String src, String destDir)
src
- Description of the ParameterdestDir
- Description of the Parameterpublic void saveEntry(String s, ZipEntry target) throws ZipException, IOException
s
- Description of the Parametertarget
- Description of the ParameterZipException
- Description of the ExceptionIOException
- Description of the ExceptionWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses