public class ZipArchive
extends java.lang.Object
| Constructor and Description |
|---|
ZipArchive() |
| Modifier and Type | Method and Description |
|---|---|
static long |
copy(java.io.InputStream in,
java.io.OutputStream out,
byte[] buffer) |
static void |
copy(java.io.InputStream in,
java.lang.String name,
byte[] buffer) |
static void |
main(java.lang.String[] args)
Manipulate a .zip archive using a tar-like interface.
|
public static long copy(java.io.InputStream in,
java.io.OutputStream out,
byte[] buffer)
throws java.io.IOException
java.io.IOExceptionpublic static void copy(java.io.InputStream in,
java.lang.String name,
byte[] buffer)
throws java.io.IOException
java.io.IOExceptionpublic static void main(java.lang.String[] args)
throws java.io.IOException
Usage: ZipArchive command archive [file ...]
ZipArchive t archive file ...ZipArchive x archive file ...ZipArchive p archive file ...ZipArchive [ptx] archiveZipArchive q archive file ...java.io.IOException