站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v6.0, Java 2 SDK 英文文档

Jar and Zip Change Summary for JDK 6 - JDK 5 Documentation v6.0, Java 2 SDK 英文文档

Java

Jar and Zip Enhancements

This page summarizes enhancements to the jar and zip support provided in JDK 6.

API changes

Two new compressed streams have been added:

For example, these can be useful if a client wants to send compressed data over a network. The data can be compressed into packets with 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.

Implementation changes

On all platforms, zip files can contain more than 64k entries.

On Windows, some limitations have been removed:

Changes to the jar command

There are two changes to the behavior of the jar command:


Copyright © 2006 Sun Microsystems, Inc. All Rights Reserved.


Sun
Java Software