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

A

AbstractArchive - Class in org.apache.commons.compress
Abstract implementation of an archiver
AbstractArchive() - Constructor for class org.apache.commons.compress.AbstractArchive
 
AbstractCompressor - Class in org.apache.commons.compress
AbstractCompressor handles all compression/decompression actions on an abstract basis.
AbstractCompressor() - Constructor for class org.apache.commons.compress.AbstractCompressor
 
add(File) - Method in class org.apache.commons.compress.AbstractArchive
 
add(ArchiveEntry) - Method in class org.apache.commons.compress.AbstractArchive
 
add(File) - Method in interface org.apache.commons.compress.Archive
Adds a file to the internal filelist for a possible pack-operation
add(ArchiveEntry) - Method in interface org.apache.commons.compress.Archive
Adds a FileInputStream to the internal filelist for a possible pack-operation
addExtraField(ZipExtraField) - Method in class org.apache.commons.compress.archivers.zip.ZipEntry
Adds an extra fields - replacing an already present extra field of the same type.
Archive - Interface in org.apache.commons.compress
Archive is the interface which defines all operations for all possible archive-operations.
ArchiveEntry - Class in org.apache.commons.compress
Represents an entry of an archive.
ArchiveEntry(String, InputStream) - Constructor for class org.apache.commons.compress.ArchiveEntry
Constructs a new ArchiveEntry with name and stram
ArchiveException - Exception in org.apache.commons.compress
Exception for the archiver.
ArchiveException() - Constructor for exception org.apache.commons.compress.ArchiveException
Calls the IOException constructor
ArchiveException(String) - Constructor for exception org.apache.commons.compress.ArchiveException
Calls the super constructor with a message
ArchiveException(String, Exception) - Constructor for exception org.apache.commons.compress.ArchiveException
Calls the super constructor with a message and fills the stacktrace with the stacktrace of an exception
ArchiverFactory - Class in org.apache.commons.compress
Provides implementations for all ArchiverFactory methods.
AsiExtraField - Class in org.apache.commons.compress.archivers.zip
Adds Unix file permission and UID/GID fields as well as symbolic link handling.
AsiExtraField() - Constructor for class org.apache.commons.compress.archivers.zip.AsiExtraField
 
available() - Method in class org.apache.commons.compress.archivers.tar.TarInputStream
Get the available data that can be read from the current entry in the archive.

B

BZIP2 - Static variable in class org.apache.commons.compress.CompressorFactory
BZIP2 Compressor Factory
BZip2Compressor - Class in org.apache.commons.compress.compressors.bzip2
Implementation of the Compressor Interface for BZip2.
BZip2Compressor() - Constructor for class org.apache.commons.compress.compressors.bzip2.BZip2Compressor
Constructor.
BZip2InputStream - Class in org.apache.commons.compress.compressors.bzip2
An input stream that decompresses from the BZip2 format (without the file header chars) to be read as any other stream.
BZip2InputStream(InputStream) - Constructor for class org.apache.commons.compress.compressors.bzip2.BZip2InputStream
Initializes ein CBZip2 InputStream with the give InputStream
BZip2OutputStream - Class in org.apache.commons.compress.compressors.bzip2
An output stream that compresses into the BZip2 format (without the file header chars) into another stream.
BZip2OutputStream(OutputStream) - Constructor for class org.apache.commons.compress.compressors.bzip2.BZip2OutputStream
 
BZip2OutputStream(OutputStream, int) - Constructor for class org.apache.commons.compress.compressors.bzip2.BZip2OutputStream
 

C

CHOOSE_EXTENSION - Static variable in class org.apache.commons.compress.PackableObject
 
CHOOSE_NAME - Static variable in class org.apache.commons.compress.PackableObject
 
clone() - Method in class org.apache.commons.compress.archivers.zip.ZipEntry
Overwrite clone
close() - Method in class org.apache.commons.compress.AbstractArchive
 
close() - Method in interface org.apache.commons.compress.Archive
Closes this archiver and all internal streams.
close() - Method in class org.apache.commons.compress.archivers.tar.TarBuffer
Close the TarBuffer.
close() - Method in class org.apache.commons.compress.archivers.tar.TarInputStream
Closes this stream.
close() - Method in class org.apache.commons.compress.archivers.tar.TarOutputStream
Ends the TAR archive and closes the underlying OutputStream.
close() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2InputStream
 
close() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2OutputStream
 
closeEntry() - Method in class org.apache.commons.compress.archivers.tar.TarOutputStream
Close an entry.
compareByteArrays(byte[], byte[]) - Static method in class org.apache.commons.compress.CompressUtils
Compares one byte array to another
compress(InputStream) - Method in class org.apache.commons.compress.AbstractCompressor
 
compress(File) - Method in class org.apache.commons.compress.AbstractCompressor
 
compress(File) - Method in interface org.apache.commons.compress.Compressor
Compresses this file and returns an InputStream to the compressed File
compress(InputStream) - Method in interface org.apache.commons.compress.Compressor
Compresses this InputStream and returns an InputStream to the compressed file
CompressException - Exception in org.apache.commons.compress
Exception occurs when a exception within the compress actions occurs.
CompressException() - Constructor for exception org.apache.commons.compress.CompressException
Calls the IOException constructor
CompressException(String) - Constructor for exception org.apache.commons.compress.CompressException
Calls the IOException constructor with a message
CompressException(String, Exception) - Constructor for exception org.apache.commons.compress.CompressException
Calls the IOException constructor with a message and fills the stacktrace with the stacktrace of an exception
Compressor - Interface in org.apache.commons.compress
The Compressor Interface defines all operations for the compress/decompress actions.
CompressorFactory - Class in org.apache.commons.compress
Compressor-Factory.
compressTo(File, File) - Method in class org.apache.commons.compress.AbstractCompressor
 
compressTo(File, File) - Method in interface org.apache.commons.compress.Compressor
Creates the file "output" with the compressed content of file "input"
compressTo(InputStream, OutputStream) - Method in interface org.apache.commons.compress.Compressor
Compresses the input stream and writes the compressed bytes to the output stream.
compressTo(InputStream, OutputStream) - Method in class org.apache.commons.compress.compressors.bzip2.BZip2Compressor
 
compressToHere(File) - Method in class org.apache.commons.compress.AbstractCompressor
 
compressToHere(File) - Method in interface org.apache.commons.compress.Compressor
Compresses the file input and creates a file in the same directory with the default file extension in its name.
CompressUtils - Class in org.apache.commons.compress
Utils for Compress.
computeCheckSum(byte[]) - Static method in class org.apache.commons.compress.archivers.tar.TarUtils
Compute the checksum of a tar entry header.
copy(InputStream, OutputStream) - Static method in class org.apache.commons.compress.CompressUtils
Copy bytes from an InputStream to an OutputStream.
copyEntryContents(OutputStream) - Method in class org.apache.commons.compress.archivers.tar.TarInputStream
Copies the contents of the current tar archive entry directly into an output stream.
createExtraField(ZipShort) - Static method in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils
Create an instance of the approriate ExtraField, falls back to UnrecognizedExtraField.

D

debug(String) - Method in class org.apache.commons.compress.archivers.tar.TarBuffer
 
debug(String) - Method in class org.apache.commons.compress.archivers.tar.TarInputStream
Utility method to do debugging.
decompress(File) - Method in class org.apache.commons.compress.AbstractCompressor
 
decompress(InputStream) - Method in class org.apache.commons.compress.AbstractCompressor
 
decompress(File) - Method in interface org.apache.commons.compress.Compressor
Decompresses a file and returns an InputStream
decompress(InputStream) - Method in interface org.apache.commons.compress.Compressor
Decompresses a file and returns an InputStream
decompressTo(File, File) - Method in class org.apache.commons.compress.AbstractCompressor
 
decompressTo(File, File) - Method in interface org.apache.commons.compress.Compressor
Decompresses this file and writes the decompressed byte to the output file
decompressTo(InputStream, OutputStream) - Method in interface org.apache.commons.compress.Compressor
Decompresses this file and writes the decompressed file to the output-stream
decompressTo(InputStream, OutputStream) - Method in class org.apache.commons.compress.compressors.bzip2.BZip2Compressor
 
DEFAULT_BLOCKSIZE - Static variable in class org.apache.commons.compress.archivers.tar.TarBuffer
 
DEFAULT_DIR_PERM - Static variable in interface org.apache.commons.compress.archivers.zip.UnixStat
Default permissions for directories.
DEFAULT_FILE_EXTENSION - Static variable in class org.apache.commons.compress.archivers.tar.TarArchive
DEFAULT_FILE_EXTENSION Field for this archiver.
DEFAULT_FILE_PERM - Static variable in interface org.apache.commons.compress.archivers.zip.UnixStat
Default permissions for plain files.
DEFAULT_LINK_PERM - Static variable in interface org.apache.commons.compress.archivers.zip.UnixStat
Default permissions for symbolic links.
DEFAULT_RECORDSIZE - Static variable in class org.apache.commons.compress.archivers.tar.TarBuffer
 
DIR_FLAG - Static variable in interface org.apache.commons.compress.archivers.zip.UnixStat
Indicates directories.
doSave(OutputStream) - Method in class org.apache.commons.compress.AbstractArchive
Specific implementation of the save opteration.
doSave(OutputStream) - Method in class org.apache.commons.compress.archivers.tar.TarArchive
 
doSave(OutputStream) - Method in class org.apache.commons.compress.archivers.zip.ZipArchive
 
doUnpack(File) - Method in class org.apache.commons.compress.AbstractArchive
Specific implementation of the unpack opteration.
doUnpack(File) - Method in class org.apache.commons.compress.archivers.tar.TarArchive
 
doUnpack(File) - Method in class org.apache.commons.compress.archivers.zip.ZipArchive
 

E

equals(TarEntry) - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Determine if the two entries are equal.
equals(Object) - Method in class org.apache.commons.compress.archivers.zip.ZipLong
Override to make two instances with same value equal.
equals(Object) - Method in class org.apache.commons.compress.archivers.zip.ZipShort
Override to make two instances with same value equal.
ExtraFieldUtils - Class in org.apache.commons.compress.archivers.zip
ZipExtraField related methods
ExtraFieldUtils() - Constructor for class org.apache.commons.compress.archivers.zip.ExtraFieldUtils
 

F

FILE_FLAG - Static variable in interface org.apache.commons.compress.archivers.zip.UnixStat
Indicates plain files.
finalize() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2OutputStream
 
finish() - Method in class org.apache.commons.compress.archivers.tar.TarOutputStream
Ends the TAR archive without closing the underlying OutputStream.
flush() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2OutputStream
 

G

getArchive() - Method in class org.apache.commons.compress.AbstractArchive
 
getArchive() - Method in interface org.apache.commons.compress.Archive
Returns the archive file and null, if this archiver has not been saved yet or there has not been set an archive manually.
getBlockSize() - Method in class org.apache.commons.compress.archivers.tar.TarBuffer
Get the TAR Buffer's block size.
getBytes() - Method in class org.apache.commons.compress.archivers.zip.ZipLong
Get value as two bytes in big endian byte order.
getBytes() - Method in class org.apache.commons.compress.archivers.zip.ZipShort
Get value as two bytes in big endian byte order.
getCentralDirectoryData() - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
Delegate to local file data.
getCentralDirectoryData() - Method in class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
Get the central directory data.
getCentralDirectoryData() - Method in interface org.apache.commons.compress.archivers.zip.ZipExtraField
The actual data to put central directory - without Header-ID or length specifier.
getCentralDirectoryExtra() - Method in class org.apache.commons.compress.archivers.zip.ZipEntry
Retrieves the extra data for the central directory.
getCentralDirectoryLength() - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
Delegate to local file data.
getCentralDirectoryLength() - Method in class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
Get the length of the central directory in bytes.
getCentralDirectoryLength() - Method in interface org.apache.commons.compress.archivers.zip.ZipExtraField
Length of the extra field in the central directory - without Header-ID or length specifier.
getCheckSum() - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Get this entry's checksum.
getCheckSumOctalBytes(long, byte[], int, int) - Static method in class org.apache.commons.compress.archivers.tar.TarUtils
Parse the checksum octal integer from a header buffer.
getCompressedSize() - Method in class org.apache.commons.compress.archivers.zip.ZipEntry
Override to make this class work in JDK 1.1 like a 1.2 class.
getCurrentBlockNum() - Method in class org.apache.commons.compress.archivers.tar.TarBuffer
Get the current block number, zero based.
getCurrentRecordNum() - Method in class org.apache.commons.compress.archivers.tar.TarBuffer
Get the current record number, within the current block, zero based.
getDefaultFileExtension() - Method in class org.apache.commons.compress.AbstractCompressor
Returns a String with the default file extension for this compressor.
getDefaultFileExtension() - Method in class org.apache.commons.compress.archivers.tar.TarArchive
 
getDefaultFileExtension() - Method in class org.apache.commons.compress.archivers.zip.ZipArchive
 
getDefaultFileExtension() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2Compressor
 
getDefaultFileExtension() - Method in class org.apache.commons.compress.PackableObject
Returns the default FileExtension for this archive, for example "zip", "tar"...
getDirectoryEntries() - Method in class org.apache.commons.compress.archivers.tar.TarEntry
If this entry represents a file, and the file is a directory, return an array of TarEntries for this entry's children.
getEntryIterator() - Method in class org.apache.commons.compress.AbstractArchive
 
getEntryIterator() - Method in interface org.apache.commons.compress.Archive
Get an iterator of ArchiveEntrys which shall be archived
getExternalAttributes() - Method in class org.apache.commons.compress.archivers.zip.ZipEntry
Retrieves the external file attributes.
getExtraFields() - Method in class org.apache.commons.compress.archivers.zip.ZipEntry
Retrieves extra fields.
getFile() - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Get this entry's file.
getGroupId() - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Deprecated. Use getGroupID() instead
getGroupID() - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Get this entry's group id.
getGroupID() - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
Get the group id.
getGroupId() - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
Deprecated. Use getGroupID() instead
getGroupName() - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Get this entry's group name.
getHeader() - Method in class org.apache.commons.compress.archivers.tar.TarArchive
 
getHeader() - Method in class org.apache.commons.compress.archivers.zip.ZipArchive
 
getHeader() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2Compressor
 
getHeader() - Method in class org.apache.commons.compress.PackableObject
Header byte array for this archive.
getHeaderID() - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
The Header-ID.
getHeaderID() - Method in class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
Get the HeaderID.
getHeaderID() - Method in interface org.apache.commons.compress.archivers.zip.ZipExtraField
The Header-ID.
getInstance(String) - Static method in class org.apache.commons.compress.ArchiverFactory
Returns an empty Archive, if an archiver could be found for this factory.
getInstance(File) - Static method in class org.apache.commons.compress.ArchiverFactory
Returns an archiver, filled with an existing archive.
getInstance() - Method in class org.apache.commons.compress.CompressorFactory
Returns a compressor
getInstance(String) - Static method in class org.apache.commons.compress.CompressorFactory
Returns an empty Compressor, if an matching compressor could be found within this factory.
getInstance(File) - Static method in class org.apache.commons.compress.CompressorFactory
Returns an archiver, filled with an existing archive.
getInternalAttributes() - Method in class org.apache.commons.compress.archivers.zip.ZipEntry
Retrieves the internal file attributes.
getLinkedFile() - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
Name of linked file
getLocalFileDataData() - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
The actual data to put into local file data - without Header-ID or length specifier.
getLocalFileDataData() - Method in class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
Get the local file data.
getLocalFileDataData() - Method in interface org.apache.commons.compress.archivers.zip.ZipExtraField
The actual data to put into local file data - without Header-ID or length specifier.
getLocalFileDataExtra() - Method in class org.apache.commons.compress.archivers.zip.ZipEntry
Retrieves the extra data for the local file data.
getLocalFileDataLength() - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
Length of the extra field in the local file data - without Header-ID or length specifier.
getLocalFileDataLength() - Method in class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
Get the length of local file data in bytes.
getLocalFileDataLength() - Method in interface org.apache.commons.compress.archivers.zip.ZipExtraField
Length of the extra field in the local file data - without Header-ID or length specifier.
getLongOctalBytes(long, byte[], int, int) - Static method in class org.apache.commons.compress.archivers.tar.TarUtils
Parse an octal long integer from a header buffer.
getMode() - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Get this entry's mode.
getMode() - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
File mode of this file.
getMode(int) - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
Get the file mode for given permissions with the correct file type.
getModTime() - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Set this entry's modification time.
getName() - Method in class org.apache.commons.compress.ArchiveEntry
Returns this entries name
getName() - Method in class org.apache.commons.compress.archivers.tar.TarArchive
 
getName() - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Get this entry's name.
getName() - Method in class org.apache.commons.compress.archivers.zip.ZipArchive
 
getName() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2Compressor
 
getName() - Method in class org.apache.commons.compress.PackableObject
Returns the ArchiveName for this archive.
getNameBytes(StringBuffer, byte[], int, int) - Static method in class org.apache.commons.compress.archivers.tar.TarUtils
Determine the number of bytes in an entry name.
getNextEntry() - Method in class org.apache.commons.compress.archivers.tar.TarInputStream
Get the next entry in this tar archive.
getOctalBytes(long, byte[], int, int) - Static method in class org.apache.commons.compress.archivers.tar.TarUtils
Parse an octal integer from a header buffer.
getRecordSize() - Method in class org.apache.commons.compress.archivers.tar.TarBuffer
Get the TAR Buffer's record size.
getRecordSize() - Method in class org.apache.commons.compress.archivers.tar.TarInputStream
Get the record size being used by this stream's TarBuffer.
getRecordSize() - Method in class org.apache.commons.compress.archivers.tar.TarOutputStream
Get the record size being used by this stream's TarBuffer.
getSize() - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Get this entry's file size.
getStream() - Method in class org.apache.commons.compress.ArchiveEntry
Returns this entries InputStream stream
getUserId() - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Deprecated. Use getUserID() instead
getUserID() - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Get this entry's user id.
getUserId() - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
Deprecated. Use getUserID()
getUserID() - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
Get the user id.
getUserName() - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Get this entry's user name.
getValue() - Method in class org.apache.commons.compress.archivers.zip.ZipLong
Get value as Java int.
getValue() - Method in class org.apache.commons.compress.archivers.zip.ZipShort
Get value as Java int.

H

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

I

identifyByHeader(File, List) - Static method in class org.apache.commons.compress.PackableObject
Compares a file to a list of packables and identifies an object by header.
isDescendent(TarEntry) - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Determine if the given entry is a descendant of this entry.
isDirectory() - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Return whether or not this entry represents a directory.
isDirectory() - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
Is this entry a directory?
isEOFRecord(byte[]) - Method in class org.apache.commons.compress.archivers.tar.TarBuffer
Determine if an archive record indicate End of Archive.
isGNULongNameEntry() - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Indicate if this entry is a GNU long name block
isLink() - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
Is this entry a symbolic link?
isPackableWith(Object, int) - Method in class org.apache.commons.compress.PackableObject
String Chooser.

L

LINK_FLAG - Static variable in interface org.apache.commons.compress.archivers.zip.UnixStat
Indicates symbolic links.
LONGFILE_ERROR - Static variable in class org.apache.commons.compress.archivers.tar.TarOutputStream
Flag to indicate that an error should be generated if an attempt is made to write an entry that exceeds the 100 char POSIX limit.
LONGFILE_GNU - Static variable in class org.apache.commons.compress.archivers.tar.TarOutputStream
Flag to indicate that entry name should be formatted according to GNU tar extension if an attempt is made to write an entry that exceeds the 100 char POSIX limit.
LONGFILE_TRUNCATE - Static variable in class org.apache.commons.compress.archivers.tar.TarOutputStream
Flag to indicate that entry name should be truncated if an attempt is made to write an entry that exceeds the 100 char POSIX limit.

M

mark(int) - Method in class org.apache.commons.compress.archivers.tar.TarInputStream
Since we do not support marking just yet, we do nothing.
markSupported() - Method in class org.apache.commons.compress.archivers.tar.TarInputStream
Since we do not support marking just yet, we return false.
mergeCentralDirectoryData(ZipExtraField[]) - Static method in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils
Merges the central directory fields of the given ZipExtraFields.
mergeLocalFileDataData(ZipExtraField[]) - Static method in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils
Merges the local file data fields of the given ZipExtraFields.

N

NAMELEN - Static variable in class org.apache.commons.compress.archivers.tar.TarEntry
The length of the name field in a header buffer.

O

org.apache.commons.compress - package org.apache.commons.compress
 
org.apache.commons.compress.archivers.tar - package org.apache.commons.compress.archivers.tar
 
org.apache.commons.compress.archivers.zip - package org.apache.commons.compress.archivers.zip
Zip Utilities that extend JDK zip classes by adding better handling of extra fields.
org.apache.commons.compress.compressors.bzip2 - package org.apache.commons.compress.compressors.bzip2
Streams that compress and decompress the BZip2 format (without the file header chars).

P

PackableObject - Class in org.apache.commons.compress
Abstract super object for Compressor and Archiver classes.
PackableObject() - Constructor for class org.apache.commons.compress.PackableObject
 
PackableObjectException - Exception in org.apache.commons.compress
Exception for the archiver.
PackableObjectException() - Constructor for exception org.apache.commons.compress.PackableObjectException
Calls the IOException constructor
PackableObjectException(String) - Constructor for exception org.apache.commons.compress.PackableObjectException
Calls the super constructor with a message
PackableObjectException(String, Exception) - Constructor for exception org.apache.commons.compress.PackableObjectException
Calls the super constructor with a message and fills the stacktrace with the stacktrace of an exception
parse(byte[]) - Static method in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils
Split the array into ExtraFields and populate them with the give data.
parseFromLocalFileData(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
Populate data from this array as if it was in local file data.
parseFromLocalFileData(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
Parse LocalFiledata out of supplied buffer.
parseFromLocalFileData(byte[], int, int) - Method in interface org.apache.commons.compress.archivers.zip.ZipExtraField
Populate data from this array as if it was in local file data.
parseName(byte[], int, int) - Static method in class org.apache.commons.compress.archivers.tar.TarUtils
Parse an entry name from a header buffer.
parseOctal(byte[], int, int) - Static method in class org.apache.commons.compress.archivers.tar.TarUtils
Parse an octal string from a header buffer.
PERM_MASK - Static variable in interface org.apache.commons.compress.archivers.zip.UnixStat
Bits used for permissions (and sticky bit)
putNextEntry(TarEntry) - Method in class org.apache.commons.compress.archivers.tar.TarOutputStream
Put an entry on the output stream.

R

read() - Method in class org.apache.commons.compress.archivers.tar.TarInputStream
Reads a byte from the current tar archive entry.
read(byte[]) - Method in class org.apache.commons.compress.archivers.tar.TarInputStream
Reads bytes from the current tar archive entry.
read(byte[], int, int) - Method in class org.apache.commons.compress.archivers.tar.TarInputStream
Reads bytes from the current tar archive entry.
read() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2InputStream
 
readRecord() - Method in class org.apache.commons.compress.archivers.tar.TarBuffer
Read a record from the input stream and return the data.
register(Class) - Static method in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils
Register a ZipExtraField implementation.
registerArchiver(String) - Static method in class org.apache.commons.compress.ArchiverFactory
Registers a new archiver in the factory.
registerArchiver(Class) - Static method in class org.apache.commons.compress.ArchiverFactory
Registers a new archiver in the factory.
registerCompressor(String) - Static method in class org.apache.commons.compress.CompressorFactory
Registers a new archiver in the factory.
registerCompressor(Class) - Static method in class org.apache.commons.compress.CompressorFactory
Registers a new archiver in the factory.
removeExtraField(ZipShort) - Method in class org.apache.commons.compress.archivers.zip.ZipEntry
Remove an extra fields.
reset() - Method in class org.apache.commons.compress.archivers.tar.TarInputStream
Since we do not support marking just yet, we do nothing.

S

save(File) - Method in class org.apache.commons.compress.AbstractArchive
Compresses the file with the given String as a filename
save(OutputStream) - Method in class org.apache.commons.compress.AbstractArchive
 
save(OutputStream) - Method in interface org.apache.commons.compress.Archive
Packs a file.
save(File) - Method in interface org.apache.commons.compress.Archive
Packs this file.
setArchive(File) - Method in class org.apache.commons.compress.AbstractArchive
 
setArchive(File) - Method in interface org.apache.commons.compress.Archive
Sets an Archive for manipulating.
setBufferDebug(boolean) - Method in class org.apache.commons.compress.archivers.tar.TarOutputStream
Sets the debugging flag in this stream's TarBuffer.
setCentralDirectoryData(byte[]) - Method in class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
Set the central directory data
setComprSize(long) - Method in class org.apache.commons.compress.archivers.zip.ZipEntry
Make this class work in JDK 1.1 like a 1.2 class.
setDebug(boolean) - Method in class org.apache.commons.compress.archivers.tar.TarBuffer
Set the debugging flag for the buffer.
setDebug(boolean) - Method in class org.apache.commons.compress.archivers.tar.TarInputStream
Sets the debugging flag.
setDirectory(boolean) - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
Indicate whether this entry is a directory.
setExternalAttributes(long) - Method in class org.apache.commons.compress.archivers.zip.ZipEntry
Sets the external file attributes.
setExtra(byte[]) - Method in class org.apache.commons.compress.archivers.zip.ZipEntry
Throws an Exception if extra data cannot be parsed into extra fields.
setExtra() - Method in class org.apache.commons.compress.archivers.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.
setExtraFields(ZipExtraField[]) - Method in class org.apache.commons.compress.archivers.zip.ZipEntry
Replaces all currently attached extra fields with the new array.
setGroupID(int) - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Set this entry's group id.
setGroupId(int) - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Deprecated. Use setGroupID() instead
setGroupId(int) - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
Set the group id.
setGroupName(String) - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Set this entry's group name.
setHeaderID(ZipShort) - Method in class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
Set the header ID.
setInternalAttributes(int) - Method in class org.apache.commons.compress.archivers.zip.ZipEntry
Sets the internal file attributes.
setLinkedFile(String) - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
Indicate that this entry is a symbolic link to the given filename.
setLocalFileDataData(byte[]) - Method in class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
Set the local file data.
setLongFileMode(int) - Method in class org.apache.commons.compress.archivers.tar.TarOutputStream
Set the mode used to work with entrys exceeding 100 chars (and thus break the POSIX standard).
setMode(int) - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Set the mode for this entry
setMode(int) - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
File mode of this file.
setModTime(long) - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Set this entry's modification time.
setModTime(Date) - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Set this entry's modification time.
setName(String) - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Set this entry's name.
setSize(long) - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Set this entry's file size.
setUserID(int) - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Set this entry's user id.
setUserId(int) - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Deprecated. Use setUserID() instead
setUserId(int) - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
Deprecated. Use setUserID(int)
setUserID(int) - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
Set the user id.
setUserName(String) - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Set this entry's user name.
skip(int) - Method in class org.apache.commons.compress.archivers.tar.TarInputStream
Skip bytes in the input buffer.
skipRecord() - Method in class org.apache.commons.compress.archivers.tar.TarBuffer
Skip over a record on the input stream.

T

TarArchive - Class in org.apache.commons.compress.archivers.tar
Archive-Implementation for Tar.
TarArchive() - Constructor for class org.apache.commons.compress.archivers.tar.TarArchive
This Archive should be instantiated in the Archive-Interface.
TarBuffer - Class in org.apache.commons.compress.archivers.tar
The TarBuffer class implements the tar archive concept of a buffered input stream.
TarBuffer(InputStream) - Constructor for class org.apache.commons.compress.archivers.tar.TarBuffer
 
TarBuffer(InputStream, int) - Constructor for class org.apache.commons.compress.archivers.tar.TarBuffer
 
TarBuffer(InputStream, int, int) - Constructor for class org.apache.commons.compress.archivers.tar.TarBuffer
 
TarBuffer(OutputStream) - Constructor for class org.apache.commons.compress.archivers.tar.TarBuffer
 
TarBuffer(OutputStream, int) - Constructor for class org.apache.commons.compress.archivers.tar.TarBuffer
 
TarBuffer(OutputStream, int, int) - Constructor for class org.apache.commons.compress.archivers.tar.TarBuffer
 
TarEntry - Class in org.apache.commons.compress.archivers.tar
This class represents an entry in a Tar archive.
TarEntry(String) - Constructor for class org.apache.commons.compress.archivers.tar.TarEntry
Construct an entry with only a name.
TarEntry(String, byte) - Constructor for class org.apache.commons.compress.archivers.tar.TarEntry
Construct an entry with a name an a link flag.
TarEntry(File) - Constructor for class org.apache.commons.compress.archivers.tar.TarEntry
Construct an entry for a file.
TarEntry(byte[]) - Constructor for class org.apache.commons.compress.archivers.tar.TarEntry
Construct an entry from an archive's header bytes.
TarInputStream - Class in org.apache.commons.compress.archivers.tar
The TarInputStream reads a UNIX tar archive as an InputStream.
TarInputStream(InputStream) - Constructor for class org.apache.commons.compress.archivers.tar.TarInputStream
Construct a TarInputStream using specified input stream and default block and record sizes.
TarInputStream(InputStream, int) - Constructor for class org.apache.commons.compress.archivers.tar.TarInputStream
Construct a TarInputStream using specified input stream, block size and default record sizes.
TarInputStream(InputStream, int, int) - Constructor for class org.apache.commons.compress.archivers.tar.TarInputStream
Construct a TarInputStream using specified input stream, block size and record sizes.
TarOutputStream - Class in org.apache.commons.compress.archivers.tar
The TarOutputStream writes a UNIX tar archive as an OutputStream.
TarOutputStream(OutputStream) - Constructor for class org.apache.commons.compress.archivers.tar.TarOutputStream
Construct a TarOutputStream using specified input stream and default block and record sizes.
TarOutputStream(OutputStream, int) - Constructor for class org.apache.commons.compress.archivers.tar.TarOutputStream
Construct a TarOutputStream using specified input stream, block size and default record sizes.
TarOutputStream(OutputStream, int, int) - Constructor for class org.apache.commons.compress.archivers.tar.TarOutputStream
Construct a TarOutputStream using specified input stream, block size and record sizes.
TarUtils - Class in org.apache.commons.compress.archivers.tar
This class provides static utility methods to work with byte streams.
TarUtils() - Constructor for class org.apache.commons.compress.archivers.tar.TarUtils
 
toString() - Method in class org.apache.commons.compress.CompressorFactory
 

U

UnixStat - Interface in org.apache.commons.compress.archivers.zip
Constants from stat.h on Unix systems.
unpack(File) - Method in class org.apache.commons.compress.AbstractArchive
 
unpack(File) - Method in interface org.apache.commons.compress.Archive
Unpacks to the specified directory
UnpackException - Exception in org.apache.commons.compress
Exception occurs when a exception within the unpack actions occurs.
UnpackException() - Constructor for exception org.apache.commons.compress.UnpackException
Calls the super constructor
UnpackException(String) - Constructor for exception org.apache.commons.compress.UnpackException
Calls the super constructor with a message
UnpackException(String, Exception) - Constructor for exception org.apache.commons.compress.UnpackException
Calls the super constructor with a message and fills the stacktrace with the stacktrace of an exception
UnrecognizedExtraField - Class in org.apache.commons.compress.archivers.zip
Simple placeholder for all those extra fields we don't want to deal with.
UnrecognizedExtraField() - Constructor for class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
 

W

write(int) - Method in class org.apache.commons.compress.archivers.tar.TarOutputStream
Writes a byte to the current tar archive entry.
write(byte[]) - Method in class org.apache.commons.compress.archivers.tar.TarOutputStream
Writes bytes to the current tar archive entry.
write(byte[], int, int) - Method in class org.apache.commons.compress.archivers.tar.TarOutputStream
Writes bytes to the current tar archive entry.
write(int) - Method in class org.apache.commons.compress.compressors.bzip2.BZip2OutputStream
modified by Oliver Merkel, 010128
writeEntryHeader(byte[]) - Method in class org.apache.commons.compress.archivers.tar.TarEntry
Write an entry's header information to a header buffer.
writeRecord(byte[]) - Method in class org.apache.commons.compress.archivers.tar.TarBuffer
Write an archive record to the archive.
writeRecord(byte[], int) - Method in class org.apache.commons.compress.archivers.tar.TarBuffer
Write an archive record to the archive, where the record may be inside of a larger array buffer.

Z

ZipArchive - Class in org.apache.commons.compress.archivers.zip
Archive-Implementation for Zip.
ZipArchive() - Constructor for class org.apache.commons.compress.archivers.zip.ZipArchive
This Archive should be instantiated in the Archive-Interface.
ZipEntry - Class in org.apache.commons.compress.archivers.zip
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.commons.compress.archivers.zip.ZipEntry
Creates a new zip entry with the specified name.
ZipEntry(ZipEntry) - Constructor for class org.apache.commons.compress.archivers.zip.ZipEntry
Creates a new zip entry with fields taken from the specified zip entry.
ZipEntry(ZipEntry) - Constructor for class org.apache.commons.compress.archivers.zip.ZipEntry
Creates a new zip entry with fields taken from the specified zip entry.
ZipExtraField - Interface in org.apache.commons.compress.archivers.zip
General format of extra field data.
ZipLong - Class in org.apache.commons.compress.archivers.zip
Utility class that represents a four byte integer with conversion rules for the big endian byte order of ZIP files.
ZipLong(long) - Constructor for class org.apache.commons.compress.archivers.zip.ZipLong
Create instance from a number.
ZipLong(byte[]) - Constructor for class org.apache.commons.compress.archivers.zip.ZipLong
Create instance from bytes.
ZipLong(byte[], int) - Constructor for class org.apache.commons.compress.archivers.zip.ZipLong
Create instance from the four bytes starting at offset.
ZipShort - Class in org.apache.commons.compress.archivers.zip
Utility class that represents a two byte integer with conversion rules for the big endian byte order of ZIP files.
ZipShort(int) - Constructor for class org.apache.commons.compress.archivers.zip.ZipShort
Create instance from a number.
ZipShort(byte[]) - Constructor for class org.apache.commons.compress.archivers.zip.ZipShort
Create instance from bytes.
ZipShort(byte[], int) - Constructor for class org.apache.commons.compress.archivers.zip.ZipShort
Create instance from the two bytes starting at offset.

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

Copyright © 2011 Apache Software Foundation. All Rights Reserved.