public class Zipper extends Object
zipDirectory() to create the output file.
Note that this is ZIP-compatible, not GZIP-compatible (ZIP is both an archive format
and a compression format, GZIP is just a compression format).| Constructor and Description |
|---|
Zipper(File sourceDir,
File outputFile) |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
File |
zipDirectory() |
public static void main(String[] args)
public File zipDirectory() throws IOException
IOExceptionCopyright © 2020. All rights reserved.