1/*
2 * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.  Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26/**
27 * Provides classes for reading and writing the standard ZIP and GZIP file
28 * formats. Also includes classes for compressing and decompressing data using
29 * the DEFLATE compression algorithm, which is used by the ZIP and GZIP file
30 * formats. Additionally, there are utility classes for computing the CRC-32,
31 * CRC-32C and Adler-32 checksums of arbitrary input streams.
32 *
33 * <h2>Package Specification</h2>
34 *
35 * <ul>
36 *     <li><a href="http://www.info-zip.org/doc/appnote-19970311-iz.zip">
37 *         Info-ZIP Application Note 970311</a> - a detailed description of
38 *         the Info-ZIP format upon which the {@code java.util.zip} classes
39 *         are based.
40 *     <li><a id="zip64">An implementation may optionally support the
41 *         ZIP64(tm) format extensions defined by the</a>
42 *         <a href="http://www.pkware.com/documents/casestudies/APPNOTE.TXT">
43 *         PKWARE ZIP File Format Specification</a>. The ZIP64(tm) format
44 *         extensions are used to overcome the size limitations of the
45 *         original ZIP format.
46 *     <li><a id="lang_encoding">APPENDIX D of</a>
47 *         <a href="http://www.pkware.com/documents/casestudies/APPNOTE.TXT">
48 *         PKWARE ZIP File Format Specification</a> - Language Encoding Flag
49 *         (EFS) to encode ZIP entry filename and comment fields using UTF-8.
50 *     <li><a href="http://www.ietf.org/rfc/rfc1950.txt">
51 *         ZLIB Compressed Data Format Specification version 3.3</a>
52 *         &nbsp;
53 *         <a href="http://www.ietf.org/rfc/rfc1950.txt.pdf">(pdf)</a>
54 *         (RFC 1950)
55 *     <li><a href="http://www.ietf.org/rfc/rfc1951.txt">
56 *         DEFLATE Compressed Data Format Specification version 1.3</a>
57 *         &nbsp;
58 *         <a href="http://www.ietf.org/rfc/rfc1951.txt.pdf">(pdf)</a>
59 *         (RFC 1951)
60 *     <li><a href="http://www.ietf.org/rfc/rfc1952.txt">
61 *         GZIP file format specification version 4.3</a>
62 *         &nbsp;
63 *         <a href="http://www.ietf.org/rfc/rfc1952.txt.pdf">(pdf)</a>
64 *         (RFC 1952)
65 *     <li>CRC-32 checksum is described in RFC 1952 (above)
66 *     <li>CRC-32C checksum is described in
67 *         <a href="http://www.ietf.org/rfc/rfc3720.txt">Internet Small
68 *         Computer Systems Interface (iSCSI)</a>
69 *         &nbsp;
70 *         <a href="http://www.ietf.org/rfc/rfc3720.txt.pdf">(pdf)</a>
71 *         (RFC 3720)
72 *     <li>Adler-32 checksum is described in RFC 1950 (above)
73 * </ul>
74 *
75 * @since 1.1
76 */
77package java.util.zip;
78