jdk/src/share/classes/java/util/zip/package.html
author ohair
Wed, 06 Apr 2011 22:06:11 -0700
changeset 9035 1255eb81cc2f
parent 5631 cfb4f43485f3
child 13819 bea90847ee7e
permissions -rw-r--r--
7033660: Update copyright year to 2011 on any files changed in 2011 Reviewed-by: dholmes
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
<!--
9035
1255eb81cc2f 7033660: Update copyright year to 2011 on any files changed in 2011
ohair
parents: 5631
diff changeset
     5
Copyright (c) 1998, 2010, 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
</a>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
<ul>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
  <li><a href="ftp://ftp.uu.net/pub/archiving/zip/doc/appnote-970311-iz.zip">
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
      Info-ZIP Application Note 970311
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
      </a> - a detailed description of the Info-ZIP format upon which
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
      the <code>java.util.zip</code> classes are based.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
<p>
2438
21c111b51aa8 4681995: Add support for large (> 4GB) zip/jar files
sherman
parents: 2
diff changeset
    49
  <a name="zip64">
21c111b51aa8 4681995: Add support for large (> 4GB) zip/jar files
sherman
parents: 2
diff changeset
    50
  <li>An implementation may optionally support the ZIP64(tm) format extensions
21c111b51aa8 4681995: Add support for large (> 4GB) zip/jar files
sherman
parents: 2
diff changeset
    51
      defined by the 
21c111b51aa8 4681995: Add support for large (> 4GB) zip/jar files
sherman
parents: 2
diff changeset
    52
      <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
    53
      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
    54
      are used to overcome the size limitations of the original ZIP format.
21c111b51aa8 4681995: Add support for large (> 4GB) zip/jar files
sherman
parents: 2
diff changeset
    55
<p>
2592
ef26f663a2ba 4244499: ZipEntry() does not convert filenames from Unicode to platform
sherman
parents: 2438
diff changeset
    56
  <a name="lang_encoding">
ef26f663a2ba 4244499: ZipEntry() does not convert filenames from Unicode to platform
sherman
parents: 2438
diff changeset
    57
  <li>APPENDIX D of <a href="http://www.pkware.com/documents/casestudies/APPNOTE.TXT">
ef26f663a2ba 4244499: ZipEntry() does not convert filenames from Unicode to platform
sherman
parents: 2438
diff changeset
    58
      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
    59
      encode ZIP entry filename and comment fields using UTF-8.
ef26f663a2ba 4244499: ZipEntry() does not convert filenames from Unicode to platform
sherman
parents: 2438
diff changeset
    60
<p>
5604
d5b97d8361d0 6952701: Use http://www.ietf.org/rfc for rfc references in jdk public APIs
sherman
parents: 2592
diff changeset
    61
  <li><a href="http://www.ietf.org/rfc/rfc1950.txt">
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
      ZLIB Compressed Data Format Specification version 3.3</a>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
      &nbsp;
5604
d5b97d8361d0 6952701: Use http://www.ietf.org/rfc for rfc references in jdk public APIs
sherman
parents: 2592
diff changeset
    64
      <a href="http://www.ietf.org/rfc/rfc1950.txt.pdf">(pdf)</a>
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
      (RFC 1950)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
<p>
5604
d5b97d8361d0 6952701: Use http://www.ietf.org/rfc for rfc references in jdk public APIs
sherman
parents: 2592
diff changeset
    67
  <li><a href="http://www.ietf.org/rfc/rfc1951.txt">
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
      DEFLATE Compressed Data Format Specification version 1.3</a>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
      &nbsp;
5604
d5b97d8361d0 6952701: Use http://www.ietf.org/rfc for rfc references in jdk public APIs
sherman
parents: 2592
diff changeset
    70
      <a href="http://www.ietf.org/rfc/rfc1951.txt.pdf">(pdf)</a>
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
      (RFC 1951)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
<p>
5604
d5b97d8361d0 6952701: Use http://www.ietf.org/rfc for rfc references in jdk public APIs
sherman
parents: 2592
diff changeset
    73
  <li><a href="http://www.ietf.org/rfc/rfc1952.txt">
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
      GZIP file format specification version 4.3</a>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
      &nbsp;
5604
d5b97d8361d0 6952701: Use http://www.ietf.org/rfc for rfc references in jdk public APIs
sherman
parents: 2592
diff changeset
    76
      <a href="http://www.ietf.org/rfc/rfc1952.txt.pdf">(pdf)</a>
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
      (RFC 1952)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
<p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
  <li>CRC-32 checksum is described in RFC 1952 (above)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
<p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
  <li>Adler-32 checksum is described in RFC 1950 (above)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
</ul>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
<!--
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
<h2>Related Documentation</h2>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
For overviews, tutorials, examples, guides, and tool documentation, please see:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
<ul>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
  <li><a href="">##### REFER TO NON-SPEC DOCUMENTATION HERE #####</a>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
</ul>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
-->
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
@since JDK1.1
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
</body>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
</html>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98