net.sourceforge.groboutils.codecoverage.v2.ant.zip |
net.sourceforge.groboutils.codecoverage.v2.ant.zip
The Apache Ant 1.6.1 org.apache.tools.zip package. This
was pulled from Ant 1.6.1 due to version inconsistencies between this package
in Ant 1.5, 1.5.1, 1.5.3, and 1.6. By using a well-known version of this
package, we avoid having to resort to reflection, which might cause the
task to break in the future.
This package does not have any dependencies upon any other Ant package, and
so can be included here without worry to its effect on Ant.
Note that this package is covered by the Apache v2 License, not the MIT
license. The Apache v2 license reads:
/*
* Copyright 2001-2002,2004 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
|
Java Source File Name | Type | Comment |
AsiExtraField.java | Class | Adds Unix file permission and UID/GID fields as well as symbolic
link handling. |
ExtraFieldUtils.java | Class | |
Resource.java | Class | |
UnixStat.java | Interface | Constants from stat.h on Unix systems. |
UnrecognizedExtraField.java | Class | Simple placeholder for all those extra fields we don't want to deal
with. |
ZipEntry.java | Class | Extension that adds better handling of extra fields and provides
access to the internal and external file attributes. |
ZipExtraField.java | Interface | General format of extra field data.
Extra fields usually appear twice per file, once in the local
file data and once in the central directory. |
ZipFile.java | Class | Replacement for java.util.ZipFile .
This class adds support for file name encodings other than UTF-8
(which is required to work on ZIP files created by native zip tools
and is able to skip a preamble like the one found in self
extracting archives. |
ZipFileSet.java | Class | A ZipFileSet is a FileSet with extra attributes useful in the context of
Zip/Jar tasks.
A ZipFileSet extends FileSets with the ability to extract a subset of the
entries of a Zip file for inclusion in another Zip file. |
ZipLong.java | Class | Utility class that represents a four byte integer with conversion
rules for the big endian byte order of ZIP files. |
ZipOutputStream.java | Class | Reimplementation of
java.util.zip.ZipOutputStreamjava.util.zip.ZipOutputStream that does handle the extended
functionality of this package, especially internal/external file
attributes and extra fields with different layouts for local file
data and central directory entries.
This class will try to use
java.io.RandomAccessFileRandomAccessFile when you know that the output is going to go to a
file.
If RandomAccessFile cannot be used, this implementation will use
a Data Descriptor to store size and CRC information for
ZipOutputStream.DEFLATED DEFLATED entries, this means, you don't need to
calculate them yourself. |
ZipScanner.java | Class | ZipScanner accesses the pattern matching algorithm in DirectoryScanner,
which are protected methods that can only be accessed by subclassing. |
ZipShort.java | Class | Utility class that represents a two byte integer with conversion
rules for the big endian byte order of ZIP files. |