| 接口 | 描述 |
|---|---|
| Pack200.Packer |
打包机引擎对输入的JAR文件进行各种转换,使包流由压缩器(如gzip或zip)高度压缩。
|
| Pack200.Unpacker |
解包器引擎将打包流转换为JAR文件。
|
| 类 | 描述 |
|---|---|
| Attributes |
属性类将Manifest属性名称映射到关联的字符串值。
|
| Attributes.Name |
Attributes.Name类表示存储在此Map中的属性名称。
|
| JarEntry |
此类用于表示JAR文件条目。
|
| JarFile |
JarFile类用于从可以使用
java.io.RandomAccessFile打开的任何文件中读取jar文件的内容。
|
| JarInputStream |
JarInputStream类用于从任何输入流读取JAR文件的内容。
|
| JarOutputStream |
JarOutputStream类用于将JAR文件的内容写入任何输出流。
|
| Manifest |
Manifest类用于维护清单条目名称及其相关属性。
|
| Pack200 |
从Pack200格式的压缩流转换JAR文件。
|
| 异常 | 描述 |
|---|---|
| JarException |
表示在读取或写入JAR文件时发生了某种错误。
|
java.util.jar package is based on the following specifications:
In JAR files, all file names must be encoded in the UTF-8 encoding.
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.