Jar and Zip Enhancements |
Two new compressed streams have been added:
java.util.zip.DeflaterInputStream
: Data read from this stream is
compressed.
java.util.zip.InflaterOutputStream
: Data written to this stream is
decompressed.
DeflaterInputStream
,
and those packets written over the network connection.
The receiving end then reads the compressed packets from the network
connection, and decompresses them by writing to an
InflaterOutputStream
.
On all platforms, zip files can contain more than 64k entries.
On Windows, some limitations have been removed:
jar
command
There are two changes to the behavior of the jar
command:
Copyright © 2006 Sun Microsystems, Inc. All Rights Reserved. |
Java Software |