jdk/src/share/classes/java/util/zip/package.html
author henryjen
Tue, 10 Jun 2014 16:18:54 -0700
changeset 24865 09b1d992ca72
parent 24196 61c9885d76e2
permissions -rw-r--r--
8044740: Convert all JDK versions used in @since tag to 1.n[.n] in jdk repo Reviewed-by: mduigou, lancea, alanb, mullan
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
<html>
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
<head>
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
<!--
13819
bea90847ee7e 7195933: There is incorrect link to "Info-ZIP Application Note 970311" in doc page of Package java.util.zip
dxu
parents: 9035
diff changeset
     5
Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
under the terms of the GNU General Public License version 2 only, as
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2592
diff changeset
    10
published by the Free Software Foundation.  Oracle designates this
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2592
diff changeset
    12
by Oracle in the LICENSE file that accompanied this code.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
5551
327690766109 6956202: Fix a few missed rebranding issues, please contact lines etc.
ohair
parents: 5506
diff changeset
    24
Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
327690766109 6956202: Fix a few missed rebranding issues, please contact lines etc.
ohair
parents: 5506
diff changeset
    25
or visit www.oracle.com if you need additional information or have any
327690766109 6956202: Fix a few missed rebranding issues, please contact lines etc.
ohair
parents: 5506
diff changeset
    26
questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
-->
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
</head>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
<body bgcolor="white">
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
Provides classes for reading and writing the standard ZIP and GZIP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
file formats.  Also includes classes for compressing and decompressing
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
data using the DEFLATE compression algorithm, which is used by the
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
ZIP and GZIP file formats. Additionally, there are utility classes
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
for computing the CRC-32 and Adler-32 checksums of arbitrary
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
input streams.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
<h2>Package Specification</h2>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
<ul>
13819
bea90847ee7e 7195933: There is incorrect link to "Info-ZIP Application Note 970311" in doc page of Package java.util.zip
dxu
parents: 9035
diff changeset
    43
  <li><a href="http://www.info-zip.org/doc/appnote-19970311-iz.zip">
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
      Info-ZIP Application Note 970311
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
      </a> - a detailed description of the Info-ZIP format upon which
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
      the <code>java.util.zip</code> classes are based.
24196
61c9885d76e2 8029451: Tidy warnings cleanup for java.util package; minor changes in java.nio, java.sql
yan
parents: 13819
diff changeset
    47
  <li><a name="zip64">An implementation may optionally support the ZIP64(tm) format extensions
61c9885d76e2 8029451: Tidy warnings cleanup for java.util package; minor changes in java.nio, java.sql
yan
parents: 13819
diff changeset
    48
      defined by the </a>
2438
21c111b51aa8 4681995: Add support for large (> 4GB) zip/jar files
sherman
parents: 2
diff changeset
    49
      <a href="http://www.pkware.com/documents/casestudies/APPNOTE.TXT">
21c111b51aa8 4681995: Add support for large (> 4GB) zip/jar files
sherman
parents: 2
diff changeset
    50
      PKWARE ZIP File Format Specification</a>. The ZIP64(tm) format extensions
21c111b51aa8 4681995: Add support for large (> 4GB) zip/jar files
sherman
parents: 2
diff changeset
    51
      are used to overcome the size limitations of the original ZIP format.
24196
61c9885d76e2 8029451: Tidy warnings cleanup for java.util package; minor changes in java.nio, java.sql
yan
parents: 13819
diff changeset
    52
  <li><a name="lang_encoding">APPENDIX D of </a><a href="http://www.pkware.com/documents/casestudies/APPNOTE.TXT">
2592
ef26f663a2ba 4244499: ZipEntry() does not convert filenames from Unicode to platform
sherman
parents: 2438
diff changeset
    53
      PKWARE ZIP File Format Specification</a> - Language Encoding Flag (EFS) to
ef26f663a2ba 4244499: ZipEntry() does not convert filenames from Unicode to platform
sherman
parents: 2438
diff changeset
    54
      encode ZIP entry filename and comment fields using UTF-8.
5604
d5b97d8361d0 6952701: Use http://www.ietf.org/rfc for rfc references in jdk public APIs
sherman
parents: 2592
diff changeset
    55
  <li><a href="http://www.ietf.org/rfc/rfc1950.txt">
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
      ZLIB Compressed Data Format Specification version 3.3</a>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
      &nbsp;
5604
d5b97d8361d0 6952701: Use http://www.ietf.org/rfc for rfc references in jdk public APIs
sherman
parents: 2592
diff changeset
    58
      <a href="http://www.ietf.org/rfc/rfc1950.txt.pdf">(pdf)</a>
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
      (RFC 1950)
5604
d5b97d8361d0 6952701: Use http://www.ietf.org/rfc for rfc references in jdk public APIs
sherman
parents: 2592
diff changeset
    60
  <li><a href="http://www.ietf.org/rfc/rfc1951.txt">
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
      DEFLATE Compressed Data Format Specification version 1.3</a>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
      &nbsp;
5604
d5b97d8361d0 6952701: Use http://www.ietf.org/rfc for rfc references in jdk public APIs
sherman
parents: 2592
diff changeset
    63
      <a href="http://www.ietf.org/rfc/rfc1951.txt.pdf">(pdf)</a>
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
      (RFC 1951)
5604
d5b97d8361d0 6952701: Use http://www.ietf.org/rfc for rfc references in jdk public APIs
sherman
parents: 2592
diff changeset
    65
  <li><a href="http://www.ietf.org/rfc/rfc1952.txt">
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
      GZIP file format specification version 4.3</a>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
      &nbsp;
5604
d5b97d8361d0 6952701: Use http://www.ietf.org/rfc for rfc references in jdk public APIs
sherman
parents: 2592
diff changeset
    68
      <a href="http://www.ietf.org/rfc/rfc1952.txt.pdf">(pdf)</a>
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
      (RFC 1952)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
  <li>CRC-32 checksum is described in RFC 1952 (above)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
  <li>Adler-32 checksum is described in RFC 1950 (above)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
</ul>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
<!--
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
<h2>Related Documentation</h2>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
For overviews, tutorials, examples, guides, and tool documentation, please see:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
<ul>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
  <li><a href="">##### REFER TO NON-SPEC DOCUMENTATION HERE #####</a>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
</ul>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
-->
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
24865
09b1d992ca72 8044740: Convert all JDK versions used in @since tag to 1.n[.n] in jdk repo
henryjen
parents: 24196
diff changeset
    84
@since 1.1
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
</body>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
</html>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88