A C D E F G H I L M O P R S T U W Z

A

addExtraField(ZipExtraField) - Method in class org.apache.excalibur.zip.ZipEntry
Adds an extra fields - replacing an already present extra field of the same type.
AsiExtraField - class org.apache.excalibur.zip.AsiExtraField.
Adds Unix file permission and UID/GID fields as well as symbolic link handling.
AsiExtraField() - Constructor for class org.apache.excalibur.zip.AsiExtraField
 

C

CFH_SIG - Static variable in class org.apache.excalibur.zip.ZipOutputStream
central file header signature
clone() - Method in class org.apache.excalibur.zip.ZipEntry
Overwrite clone
closeEntry() - Method in class org.apache.excalibur.zip.ZipOutputStream
Writes all necessary data for this entry.
createExtraField(ZipShort) - Static method in class org.apache.excalibur.zip.ExtraFieldUtils
Create an instance of the approriate ExtraField, falls back to UnrecognizedExtraField.

D

DD_SIG - Static variable in class org.apache.excalibur.zip.ZipOutputStream
data descriptor signature
DEFAULT_DIR_PERM - Static variable in interface org.apache.excalibur.zip.UnixStat
Default permissions for directories.
DEFAULT_FILE_PERM - Static variable in interface org.apache.excalibur.zip.UnixStat
Default permissions for plain files.
DEFAULT_LINK_PERM - Static variable in interface org.apache.excalibur.zip.UnixStat
Default permissions for symbolic links.
DEFLATED - Static variable in class org.apache.excalibur.zip.ZipOutputStream
Compression method for deflated entries.
DIR_FLAG - Static variable in interface org.apache.excalibur.zip.UnixStat
Indicates directories.

E

EOCD_SIG - Static variable in class org.apache.excalibur.zip.ZipOutputStream
end of central dir signature
equals(Object) - Method in class org.apache.excalibur.zip.ZipLong
Override to make two instances with same value equal.
equals(Object) - Method in class org.apache.excalibur.zip.ZipShort
Override to make two instances with same value equal.
ExtraFieldUtils - class org.apache.excalibur.zip.ExtraFieldUtils.
ZipExtraField related methods
ExtraFieldUtils() - Constructor for class org.apache.excalibur.zip.ExtraFieldUtils
 

F

FILE_FLAG - Static variable in interface org.apache.excalibur.zip.UnixStat
Indicates plain files.
finish() - Method in class org.apache.excalibur.zip.ZipOutputStream
Finishs writing the contents and closes this as well as the underlying stream.

G

getBytes() - Method in class org.apache.excalibur.zip.ZipLong
Get value as two bytes in big endian byte order.
getBytes() - Method in class org.apache.excalibur.zip.ZipShort
Get value as two bytes in big endian byte order.
getBytes(String) - Method in class org.apache.excalibur.zip.ZipOutputStream
Retrieve the bytes for the given String in the encoding set for this Stream.
getCentralDirectoryData() - Method in class org.apache.excalibur.zip.UnrecognizedExtraField
Get the central directory data.
getCentralDirectoryData() - Method in interface org.apache.excalibur.zip.ZipExtraField
The actual data to put central directory - without Header-ID or length specifier.
getCentralDirectoryData() - Method in class org.apache.excalibur.zip.AsiExtraField
Delegate to local file data.
getCentralDirectoryExtra() - Method in class org.apache.excalibur.zip.ZipEntry
Retrieves the extra data for the central directory.
getCentralDirectoryLength() - Method in class org.apache.excalibur.zip.UnrecognizedExtraField
Get the length of the central directory in bytes.
getCentralDirectoryLength() - Method in interface org.apache.excalibur.zip.ZipExtraField
Length of the extra field in the central directory - without Header-ID or length specifier.
getCentralDirectoryLength() - Method in class org.apache.excalibur.zip.AsiExtraField
Delegate to local file data.
getCompressedSize() - Method in class org.apache.excalibur.zip.ZipEntry
Override to make this class work in JDK 1.1 like a 1.2 class.
getEncoding() - Method in class org.apache.excalibur.zip.ZipOutputStream
The encoding to use for filenames and the file comment.
getExternalAttributes() - Method in class org.apache.excalibur.zip.ZipEntry
Retrieves the external file attributes.
getExtraFields() - Method in class org.apache.excalibur.zip.ZipEntry
Retrieves extra fields.
getGroupId() - Method in class org.apache.excalibur.zip.AsiExtraField
Deprecated. Use getGroupID() instead
getGroupID() - Method in class org.apache.excalibur.zip.AsiExtraField
Get the group id.
getHeaderId() - Method in class org.apache.excalibur.zip.UnrecognizedExtraField
Deprecated. Use getHeaderID() instead
getHeaderID() - Method in class org.apache.excalibur.zip.UnrecognizedExtraField
Get the HeaderID.
getHeaderID() - Method in interface org.apache.excalibur.zip.ZipExtraField
The Header-ID.
getHeaderID() - Method in class org.apache.excalibur.zip.AsiExtraField
The Header-ID.
getInternalAttributes() - Method in class org.apache.excalibur.zip.ZipEntry
Retrieves the internal file attributes.
getLinkedFile() - Method in class org.apache.excalibur.zip.AsiExtraField
Name of linked file
getLocalFileDataData() - Method in class org.apache.excalibur.zip.UnrecognizedExtraField
Get the local file data.
getLocalFileDataData() - Method in interface org.apache.excalibur.zip.ZipExtraField
The actual data to put into local file data - without Header-ID or length specifier.
getLocalFileDataData() - Method in class org.apache.excalibur.zip.AsiExtraField
The actual data to put into local file data - without Header-ID or length specifier.
getLocalFileDataExtra() - Method in class org.apache.excalibur.zip.ZipEntry
Retrieves the extra data for the local file data.
getLocalFileDataLength() - Method in class org.apache.excalibur.zip.UnrecognizedExtraField
Get the length of local file data in bytes.
getLocalFileDataLength() - Method in interface org.apache.excalibur.zip.ZipExtraField
Length of the extra field in the local file data - without Header-ID or length specifier.
getLocalFileDataLength() - Method in class org.apache.excalibur.zip.AsiExtraField
Length of the extra field in the local file data - without Header-ID or length specifier.
getMode() - Method in class org.apache.excalibur.zip.AsiExtraField
File mode of this file.
getMode(int) - Method in class org.apache.excalibur.zip.AsiExtraField
Get the file mode for given permissions with the correct file type.
getUserId() - Method in class org.apache.excalibur.zip.AsiExtraField
Deprecated. Use getUserID()
getUserID() - Method in class org.apache.excalibur.zip.AsiExtraField
Get the user id.
getValue() - Method in class org.apache.excalibur.zip.ZipLong
Get value as Java int.
getValue() - Method in class org.apache.excalibur.zip.ZipShort
Get value as Java int.

H

hashCode() - Method in class org.apache.excalibur.zip.ZipLong
Override to make two instances with same value equal.
hashCode() - Method in class org.apache.excalibur.zip.ZipShort
Override to make two instances with same value equal.

I

isDirectory() - Method in class org.apache.excalibur.zip.AsiExtraField
Is this entry a directory?
isLink() - Method in class org.apache.excalibur.zip.AsiExtraField
Is this entry a symbolic link?

L

LFH_SIG - Static variable in class org.apache.excalibur.zip.ZipOutputStream
local file header signature
LINK_FLAG - Static variable in interface org.apache.excalibur.zip.UnixStat
Indicates symbolic links.

M

mergeCentralDirectoryData(ZipExtraField[]) - Static method in class org.apache.excalibur.zip.ExtraFieldUtils
Merges the central directory fields of the given ZipExtraFields.
mergeLocalFileDataData(ZipExtraField[]) - Static method in class org.apache.excalibur.zip.ExtraFieldUtils
Merges the local file data fields of the given ZipExtraFields.

O

org.apache.excalibur.zip - package org.apache.excalibur.zip
 

P

parse(byte[]) - Static method in class org.apache.excalibur.zip.ExtraFieldUtils
Split the array into ExtraFields and populate them with the give data.
parseFromLocalFileData(byte[], int, int) - Method in class org.apache.excalibur.zip.UnrecognizedExtraField
Parse LocalFiledata out of supplied buffer.
parseFromLocalFileData(byte[], int, int) - Method in interface org.apache.excalibur.zip.ZipExtraField
Populate data from this array as if it was in local file data.
parseFromLocalFileData(byte[], int, int) - Method in class org.apache.excalibur.zip.AsiExtraField
Populate data from this array as if it was in local file data.
PERM_MASK - Static variable in interface org.apache.excalibur.zip.UnixStat
Bits used for permissions (and sticky bit)
putNextEntry(ZipEntry) - Method in class org.apache.excalibur.zip.ZipOutputStream
Begin writing next entry.

R

register(Class) - Static method in class org.apache.excalibur.zip.ExtraFieldUtils
Register a ZipExtraField implementation.
removeExtraField(ZipShort) - Method in class org.apache.excalibur.zip.ZipEntry
Remove an extra fields.

S

setCentralDirectoryData(byte[]) - Method in class org.apache.excalibur.zip.UnrecognizedExtraField
Set the central directory data
setComment(String) - Method in class org.apache.excalibur.zip.ZipOutputStream
Set the file comment.
setComprSize(long) - Method in class org.apache.excalibur.zip.ZipEntry
Make this class work in JDK 1.1 like a 1.2 class.
setDirectory(boolean) - Method in class org.apache.excalibur.zip.AsiExtraField
Indicate whether this entry is a directory.
setEncoding(String) - Method in class org.apache.excalibur.zip.ZipOutputStream
The encoding to use for filenames and the file comment.
setExternalAttributes(long) - Method in class org.apache.excalibur.zip.ZipEntry
Sets the external file attributes.
setExtra() - Method in class org.apache.excalibur.zip.ZipEntry
Unfortunately java.util.zip.ZipOutputStream seems to access the extra data directly, so overriding getExtra doesn't help - we need to modify super's data directly.
setExtra(byte[]) - Method in class org.apache.excalibur.zip.ZipEntry
Throws an Exception if extra data cannot be parsed into extra fields.
setExtraFields(ZipExtraField[]) - Method in class org.apache.excalibur.zip.ZipEntry
Replaces all currently attached extra fields with the new array.
setGroupId(int) - Method in class org.apache.excalibur.zip.AsiExtraField
Set the group id.
setHeaderId(ZipShort) - Method in class org.apache.excalibur.zip.UnrecognizedExtraField
Deprecated. Use setHeaderID() instead
setHeaderID(ZipShort) - Method in class org.apache.excalibur.zip.UnrecognizedExtraField
Set the header ID.
setInternalAttributes(int) - Method in class org.apache.excalibur.zip.ZipEntry
Sets the internal file attributes.
setLevel(int) - Method in class org.apache.excalibur.zip.ZipOutputStream
Sets the compression level for subsequent entries.
setLinkedFile(String) - Method in class org.apache.excalibur.zip.AsiExtraField
Indicate that this entry is a symbolic link to the given filename.
setLocalFileDataData(byte[]) - Method in class org.apache.excalibur.zip.UnrecognizedExtraField
Set the local file data.
setMethod(int) - Method in class org.apache.excalibur.zip.ZipOutputStream
Sets the default compression method for subsequent entries.
setMode(int) - Method in class org.apache.excalibur.zip.AsiExtraField
File mode of this file.
setUserId(int) - Method in class org.apache.excalibur.zip.AsiExtraField
Deprecated. Use setUserID(int)
setUserID(int) - Method in class org.apache.excalibur.zip.AsiExtraField
Set the user id.
STORED - Static variable in class org.apache.excalibur.zip.ZipOutputStream
Compression method for deflated entries.

T

toDosTime(Date) - Static method in class org.apache.excalibur.zip.ZipOutputStream
Convert a Date object to a DOS date/time field.

U

UnixStat - interface org.apache.excalibur.zip.UnixStat.
Constants from stat.h on Unix systems.
UnrecognizedExtraField - class org.apache.excalibur.zip.UnrecognizedExtraField.
Simple placeholder for all those extra fields we don't want to deal with.
UnrecognizedExtraField() - Constructor for class org.apache.excalibur.zip.UnrecognizedExtraField
 

W

write(byte[], int, int) - Method in class org.apache.excalibur.zip.ZipOutputStream
Writes bytes to ZIP entry.
writeCentralDirectoryEnd() - Method in class org.apache.excalibur.zip.ZipOutputStream
Writes the "End of central dir record"
writeCentralFileHeader(ZipEntry) - Method in class org.apache.excalibur.zip.ZipOutputStream
Writes the central file header entry
writeDataDescriptor(ZipEntry) - Method in class org.apache.excalibur.zip.ZipOutputStream
Writes the data descriptor entry
writeLocalFileHeader(ZipEntry) - Method in class org.apache.excalibur.zip.ZipOutputStream
Writes the local file header entry

Z

ZipEntry - class org.apache.excalibur.zip.ZipEntry.
Extension that adds better handling of extra fields and provides access to the internal and external file attributes.
ZipEntry(String) - Constructor for class org.apache.excalibur.zip.ZipEntry
Creates a new zip entry with the specified name.
ZipEntry(ZipEntry) - Constructor for class org.apache.excalibur.zip.ZipEntry
Creates a new zip entry with fields taken from the specified zip entry.
ZipEntry(ZipEntry) - Constructor for class org.apache.excalibur.zip.ZipEntry
Creates a new zip entry with fields taken from the specified zip entry.
ZipExtraField - interface org.apache.excalibur.zip.ZipExtraField.
General format of extra field data.
ZipLong - class org.apache.excalibur.zip.ZipLong.
Utility class that represents a four byte integer with conversion rules for the big endian byte order of ZIP files.
ZipLong(byte[]) - Constructor for class org.apache.excalibur.zip.ZipLong
Create instance from bytes.
ZipLong(byte[], int) - Constructor for class org.apache.excalibur.zip.ZipLong
Create instance from the four bytes starting at offset.
ZipLong(long) - Constructor for class org.apache.excalibur.zip.ZipLong
Create instance from a number.
ZipOutputStream - class org.apache.excalibur.zip.ZipOutputStream.
Reimplementation of java.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.
ZipOutputStream(OutputStream) - Constructor for class org.apache.excalibur.zip.ZipOutputStream
Creates a new ZIP OutputStream filtering the underlying stream.
ZipShort - class org.apache.excalibur.zip.ZipShort.
Utility class that represents a two byte integer with conversion rules for the big endian byte order of ZIP files.
ZipShort(byte[]) - Constructor for class org.apache.excalibur.zip.ZipShort
Create instance from bytes.
ZipShort(byte[], int) - Constructor for class org.apache.excalibur.zip.ZipShort
Create instance from the two bytes starting at offset.
ZipShort(int) - Constructor for class org.apache.excalibur.zip.ZipShort
Create instance from a number.

A C D E F G H I L M O P R S T U W Z

"Copyright © 2002 Apache Jakarta Project. All Rights Reserved."