gnu.bytecode
Class ZipArchive
public class ZipArchive
extends java.lang.Object
A class to manipulate a .zip archive.
Does not handle compression/uncompression, though that could be added.
When used an an application. provides a simplified tar-like interface.
static long | copy(InputStream in, OutputStream out, byte[] buffer)
|
static void | copy(InputStream in, String name, byte[] buffer)
|
static void | main(args[] ) - Manipulate a .zip archive using a tar-like interface.
|
copy
public static long copy(InputStream in,
OutputStream out,
byte[] buffer)
throws IOException
copy
public static void copy(InputStream in,
String name,
byte[] buffer)
throws IOException
main
public static void main(args[] )
throws IOException
Manipulate a .zip archive using a tar-like interface.
Usage:
ZipArchive
command archive [
file ...]
ZipArchive t
archive fileZipArchive x
archive fileZipArchive p
archive fileZipArchive
ptx
archiveZipArchive q
archive file