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

A

AbstractUnicodeExtraField - Class in org.apache.commons.compress.archivers.zip
A common base class for Unicode extra information extra fields.
AbstractUnicodeExtraField() - Constructor for class org.apache.commons.compress.archivers.zip.AbstractUnicodeExtraField
 
AbstractUnicodeExtraField(String, byte[], int, int) - Constructor for class org.apache.commons.compress.archivers.zip.AbstractUnicodeExtraField
Assemble as unicode extension from the name/comment and encoding of the orginal zip entry.
AbstractUnicodeExtraField(String, byte[]) - Constructor for class org.apache.commons.compress.archivers.zip.AbstractUnicodeExtraField
Assemble as unicode extension from the name/comment and encoding of the orginal zip entry.
add(ArchiveEntry, InputStream) - Method in class org.apache.commons.compress.changes.ChangeSet
Adds a new archive entry to the archive.
add(ArchiveEntry, InputStream, boolean) - Method in class org.apache.commons.compress.changes.ChangeSet
Adds a new archive entry to the archive.
addAsFirstExtraField(ZipExtraField) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Adds an extra field - replacing an already present extra field of the same type.
addExtraField(ZipExtraField) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Adds an extra field - replacing an already present extra field of the same type.
adjustToLong(int) - Static method in class org.apache.commons.compress.archivers.zip.ZipUtil
Assumes a negative integer really is a positive integer that has wrapped around and re-creates the original value.
ALWAYS - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.UnicodeExtraFieldPolicy
Always create Unicode extra fields.
AR - Static variable in class org.apache.commons.compress.archivers.ArchiveStreamFactory
Constant used to identify the AR archive format.
ArArchiveEntry - Class in org.apache.commons.compress.archivers.ar
Represents an archive entry in the "ar" format.
ArArchiveEntry(String, long) - Constructor for class org.apache.commons.compress.archivers.ar.ArArchiveEntry
Create a new instance using a couple of default values.
ArArchiveEntry(String, long, int, int, int, long) - Constructor for class org.apache.commons.compress.archivers.ar.ArArchiveEntry
Create a new instance.
ArArchiveEntry(File, String) - Constructor for class org.apache.commons.compress.archivers.ar.ArArchiveEntry
Create a new instance using the attributes of the given file
ArArchiveInputStream - Class in org.apache.commons.compress.archivers.ar
Implements the "ar" archive format as an input stream.
ArArchiveInputStream(InputStream) - Constructor for class org.apache.commons.compress.archivers.ar.ArArchiveInputStream
Constructs an Ar input stream with the referenced stream
ArArchiveOutputStream - Class in org.apache.commons.compress.archivers.ar
Implements the "ar" archive format as an output stream.
ArArchiveOutputStream(OutputStream) - Constructor for class org.apache.commons.compress.archivers.ar.ArArchiveOutputStream
 
ArchiveEntry - Interface in org.apache.commons.compress.archivers
Represents an entry of an archive.
ArchiveException - Exception in org.apache.commons.compress.archivers
Archiver related Exception
ArchiveException(String) - Constructor for exception org.apache.commons.compress.archivers.ArchiveException
Constructs a new exception with the specified detail message.
ArchiveException(String, Exception) - Constructor for exception org.apache.commons.compress.archivers.ArchiveException
Constructs a new exception with the specified detail message and cause.
ArchiveInputStream - Class in org.apache.commons.compress.archivers
Archive input streams MUST override the InputStream.read(byte[], int, int) - or ArchiveInputStream.read() - method so that reading from the stream generates EOF for the end of data in each entry as well as at the end of the file proper.
ArchiveInputStream() - Constructor for class org.apache.commons.compress.archivers.ArchiveInputStream
 
ArchiveOutputStream - Class in org.apache.commons.compress.archivers
Archive output stream implementations are expected to override the OutputStream.write(byte[], int, int) method to improve performance.
ArchiveOutputStream() - Constructor for class org.apache.commons.compress.archivers.ArchiveOutputStream
 
ArchiveStreamFactory - Class in org.apache.commons.compress.archivers
Factory to create Archive[In|Out]putStreams from names or the first bytes of the InputStream.
ArchiveStreamFactory() - Constructor for class org.apache.commons.compress.archivers.ArchiveStreamFactory
 
ArchiveUtils - Class in org.apache.commons.compress.utils
Generic Archive utilities
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
Constructor for AsiExtraField.
ATIMELEN_GNU - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
The length of the access time field in an old GNU header buffer.
available() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveInputStream
Returns 0 after EOF has reached for the current entry data, otherwise always return 1.
available() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
Get the available data that can be read from the current entry in the archive.

B

BLOCK_SIZE - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
The default block size.
buffer - Variable in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
 
buffer - Variable in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
 
BZIP2 - Static variable in class org.apache.commons.compress.compressors.CompressorStreamFactory
Constant used to identify the BZIP2 compression algorithm.
BZip2CompressorInputStream - Class in org.apache.commons.compress.compressors.bzip2
An input stream that decompresses from the BZip2 format to be read as any other stream.
BZip2CompressorInputStream(InputStream) - Constructor for class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
Constructs a new BZip2CompressorInputStream which decompresses bytes read from the specified stream.
BZip2CompressorOutputStream - Class in org.apache.commons.compress.compressors.bzip2
An output stream that compresses into the BZip2 format into another stream.
BZip2CompressorOutputStream(OutputStream) - Constructor for class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
Constructs a new CBZip2OutputStream with a blocksize of 900k.
BZip2CompressorOutputStream(OutputStream, int) - Constructor for class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
Constructs a new CBZip2OutputStream with specified blocksize.
BZip2Utils - Class in org.apache.commons.compress.compressors.bzip2
Utility code for the BZip2 compression format.

C

C_IRGRP - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
Permits a file's group to read the file
C_IROTH - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
Permits others to read the file
C_IRUSR - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
Permits the owner of a file to read the file
C_ISBLK - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
Defines a block device
C_ISCHR - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
Defines a character device
C_ISDIR - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
Defines a directory
C_ISFIFO - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
Defines a pipe
C_ISGID - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
Set group ID
C_ISLNK - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
Defines a symbolic link
C_ISNWK - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
HP/UX network special (C_ISCTG)
C_ISREG - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
Defines a regular file
C_ISSOCK - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
Defines a socket
C_ISUID - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
Set user ID
C_ISVTX - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
On directories, restricted deletion flag.
C_IWGRP - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
Permits a file's group to write to the file
C_IWOTH - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
Permits others to write to the file
C_IWUSR - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
Permits the owner of a file to write to the file
C_IXGRP - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
Permits a file's group to execute the file or to search the directory
C_IXOTH - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
Permits others to execute the file or to search the directory
C_IXUSR - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
Permits the owner of a file to execute the file or to search the directory
canReadEntryData(ArchiveEntry) - Method in class org.apache.commons.compress.archivers.ArchiveInputStream
Whether this stream is able to read the given entry.
canReadEntryData(ArchiveEntry) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
Whether this class is able to read the given entry.
canReadEntryData(ArchiveEntry) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
Whether this class is able to read the given entry.
canReadEntryData(ZipArchiveEntry) - Method in class org.apache.commons.compress.archivers.zip.ZipFile
Whether this class is able to read the given entry.
canWriteEntryData(ArchiveEntry) - Method in class org.apache.commons.compress.archivers.ArchiveOutputStream
Whether this stream is able to write the given entry.
canWriteEntryData(ArchiveEntry) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
Whether this stream is able to write the given entry.
CFH_SIG - Static variable in class org.apache.commons.compress.archivers.zip.ZipLong
Central File Header Signature
ChangeSet - Class in org.apache.commons.compress.changes
ChangeSet collects and performs changes to an archive.
ChangeSet() - Constructor for class org.apache.commons.compress.changes.ChangeSet
 
ChangeSetPerformer - Class in org.apache.commons.compress.changes
Performs ChangeSet operations on a stream.
ChangeSetPerformer(ChangeSet) - Constructor for class org.apache.commons.compress.changes.ChangeSetPerformer
Constructs a ChangeSetPerformer with the changes from this ChangeSet
ChangeSetResults - Class in org.apache.commons.compress.changes
Stores the results of an performed ChangeSet operation.
ChangeSetResults() - Constructor for class org.apache.commons.compress.changes.ChangeSetResults
 
CHKSUMLEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
The length of the checksum field in a header buffer.
chooseBlockSize(long) - Static method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
Chooses a blocksize based on the given length of the data to compress.
clone() - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
 
clone() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Overwrite clone.
clone() - Method in class org.apache.commons.compress.archivers.zip.ZipLong
 
clone() - Method in class org.apache.commons.compress.archivers.zip.ZipShort
 
close() - Method in class org.apache.commons.compress.archivers.ar.ArArchiveInputStream
 
close() - Method in class org.apache.commons.compress.archivers.ar.ArArchiveOutputStream
Calls finish if necessary, and then closes the OutputStream
close() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveInputStream
Closes the CPIO input stream.
close() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveOutputStream
Closes the CPIO output stream as well as the stream being filtered.
close() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
Closes this stream.
close() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
Closes the underlying OutputStream.
close() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
 
close() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
Closes this output stream and releases any system resources associated with the stream.
close() - Method in class org.apache.commons.compress.archivers.zip.ZipFile
Closes the archive.
close() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
 
close() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
 
close() - Method in class org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream
Closes the input stream (unless it is System.in).
close() - Method in class org.apache.commons.compress.compressors.gzip.GzipCompressorOutputStream
 
closeArchiveEntry() - Method in class org.apache.commons.compress.archivers.ar.ArArchiveOutputStream
Closes the archive entry, writing any trailer information that may be required.
closeArchiveEntry() - Method in class org.apache.commons.compress.archivers.ArchiveOutputStream
Closes the archive entry, writing any trailer information that may be required.
closeArchiveEntry() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveOutputStream
 
closeArchiveEntry() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
Close an entry.
closeArchiveEntry() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
Writes all necessary data for this entry.
closeQuietly(ZipFile) - Static method in class org.apache.commons.compress.archivers.zip.ZipFile
close a zipfile quietly; throw no io fault, do nothing on a null parameter
CompressorException - Exception in org.apache.commons.compress.compressors
Compressor related exception
CompressorException(String) - Constructor for exception org.apache.commons.compress.compressors.CompressorException
Constructs a new exception with the specified detail message.
CompressorException(String, Throwable) - Constructor for exception org.apache.commons.compress.compressors.CompressorException
Constructs a new exception with the specified detail message and cause.
CompressorInputStream - Class in org.apache.commons.compress.compressors
 
CompressorInputStream() - Constructor for class org.apache.commons.compress.compressors.CompressorInputStream
 
CompressorOutputStream - Class in org.apache.commons.compress.compressors
 
CompressorOutputStream() - Constructor for class org.apache.commons.compress.compressors.CompressorOutputStream
 
CompressorStreamFactory - Class in org.apache.commons.compress.compressors
Factory to create Compressor[In|Out]putStreams from names.
CompressorStreamFactory() - Constructor for class org.apache.commons.compress.compressors.CompressorStreamFactory
 
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.utils.IOUtils
Copies the content of a InputStream into an OutputStream.
copy(InputStream, OutputStream, int) - Static method in class org.apache.commons.compress.utils.IOUtils
Copies the content of a InputStream into an OutputStream
count(int) - Method in class org.apache.commons.compress.archivers.ArchiveInputStream
Increments the counter of already read bytes.
count(long) - Method in class org.apache.commons.compress.archivers.ArchiveInputStream
Increments the counter of already read bytes.
count(int) - Method in class org.apache.commons.compress.archivers.ArchiveOutputStream
Increments the counter of already written bytes.
count(long) - Method in class org.apache.commons.compress.archivers.ArchiveOutputStream
Increments the counter of already written bytes.
count(int) - Method in class org.apache.commons.compress.compressors.CompressorInputStream
Increments the counter of already read bytes.
count(long) - Method in class org.apache.commons.compress.compressors.CompressorInputStream
Increments the counter of already read bytes.
CPIO - Static variable in class org.apache.commons.compress.archivers.ArchiveStreamFactory
Constant used to identify the CPIO archive format.
CPIO_TRAILER - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
The special trailer marker
CpioArchiveEntry - Class in org.apache.commons.compress.archivers.cpio
A cpio archive consists of a sequence of files.
CpioArchiveEntry(short) - Constructor for class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Creates a CPIOArchiveEntry with a specified format.
CpioArchiveEntry(String) - Constructor for class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Creates a CPIOArchiveEntry with a specified name.
CpioArchiveEntry(short, String) - Constructor for class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Creates a CPIOArchiveEntry with a specified name.
CpioArchiveEntry(String, long) - Constructor for class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Creates a CPIOArchiveEntry with a specified name.
CpioArchiveEntry(short, String, long) - Constructor for class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Creates a CPIOArchiveEntry with a specified name.
CpioArchiveEntry(File, String) - Constructor for class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Creates a CPIOArchiveEntry with a specified name for a specified file.
CpioArchiveEntry(short, File, String) - Constructor for class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Creates a CPIOArchiveEntry with a specified name for a specified file.
CpioArchiveInputStream - Class in org.apache.commons.compress.archivers.cpio
CPIOArchiveInputStream is a stream for reading cpio streams.
CpioArchiveInputStream(InputStream) - Constructor for class org.apache.commons.compress.archivers.cpio.CpioArchiveInputStream
Construct the cpio input stream
CpioArchiveOutputStream - Class in org.apache.commons.compress.archivers.cpio
CPIOArchiveOutputStream is a stream for writing CPIO streams.
CpioArchiveOutputStream(OutputStream, short) - Constructor for class org.apache.commons.compress.archivers.cpio.CpioArchiveOutputStream
Construct the cpio output stream with a specified format and a blocksize of BLOCK_SIZE.
CpioArchiveOutputStream(OutputStream, short, int) - Constructor for class org.apache.commons.compress.archivers.cpio.CpioArchiveOutputStream
Construct the cpio output stream with a specified format
CpioArchiveOutputStream(OutputStream) - Constructor for class org.apache.commons.compress.archivers.cpio.CpioArchiveOutputStream
Construct the cpio output stream.
CpioConstants - Interface in org.apache.commons.compress.archivers.cpio
All constants needed by CPIO.
createArchiveEntry(File, String) - Method in class org.apache.commons.compress.archivers.ar.ArArchiveOutputStream
Create an archive entry using the inputFile and entryName provided.
createArchiveEntry(File, String) - Method in class org.apache.commons.compress.archivers.ArchiveOutputStream
Create an archive entry using the inputFile and entryName provided.
createArchiveEntry(File, String) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveOutputStream
Creates a new ArchiveEntry.
createArchiveEntry(File, String) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
Create an archive entry using the inputFile and entryName provided.
createArchiveEntry(File, String) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
Creates a new zip entry taking some information from the given file and using the provided name.
createArchiveInputStream(String, InputStream) - Method in class org.apache.commons.compress.archivers.ArchiveStreamFactory
Create an archive input stream from an archiver name and an input stream.
createArchiveInputStream(InputStream) - Method in class org.apache.commons.compress.archivers.ArchiveStreamFactory
Create an archive input stream from an input stream, autodetecting the archive type from the first few bytes of the stream.
createArchiveOutputStream(String, OutputStream) - Method in class org.apache.commons.compress.archivers.ArchiveStreamFactory
Create an archive output stream from an archiver name and an input stream.
createCompressorInputStream(InputStream) - Method in class org.apache.commons.compress.compressors.CompressorStreamFactory
Create an compressor input stream from an input stream, autodetecting the compressor type from the first few bytes of the stream.
createCompressorInputStream(String, InputStream) - Method in class org.apache.commons.compress.compressors.CompressorStreamFactory
Create a compressor input stream from a compressor name and an input stream.
createCompressorOutputStream(String, OutputStream) - Method in class org.apache.commons.compress.compressors.CompressorStreamFactory
Create an compressor output stream from an compressor name and an input 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.
CTIMELEN_GNU - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
The length of the created time field in an old GNU header buffer.

D

DATA_DESCRIPTOR - Static variable in class org.apache.commons.compress.archivers.zip.UnsupportedZipFeatureException.Feature
The entry uses a data descriptor.
DD_SIG - Static variable in class org.apache.commons.compress.archivers.zip.ZipLong
Data Descriptor signature
def - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
This Deflater object is used for output.
DEFAULT_COMPRESSION - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
Default compression level for deflated entries.
DEFAULT_DIR_MODE - Static variable in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Default permissions bits for directories
DEFAULT_DIR_PERM - Static variable in interface org.apache.commons.compress.archivers.zip.UnixStat
Default permissions for directories.
DEFAULT_FILE_MODE - Static variable in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Default permissions bits for files
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.
deflate() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
Writes next block of compressed data to the output stream.
DEFLATED - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
Compression method for deflated entries.
delete(String) - Method in class org.apache.commons.compress.changes.ChangeSet
Deletes the file with the filename from the archive.
deleteDir(String) - Method in class org.apache.commons.compress.changes.ChangeSet
Deletes the directory tree from the archive.
DEVLEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
The length of each of the device fields (major and minor) in a header buffer.
DIR_FLAG - Static variable in interface org.apache.commons.compress.archivers.zip.UnixStat
Indicates directories.
dosToJavaTime(long) - Static method in class org.apache.commons.compress.archivers.zip.ZipUtil
Converts DOS time to Java time (number of milliseconds since epoch).

E

EFS_FLAG - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
Deprecated. use GeneralPurposeBit.UFT8_NAMES_FLAG instead
encode() - Method in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
Encodes the set bits in a form suitable for ZIP archives.
ENCRYPTION - Static variable in class org.apache.commons.compress.archivers.zip.UnsupportedZipFeatureException.Feature
The entry is encrypted.
equals(Object) - Method in class org.apache.commons.compress.archivers.ar.ArArchiveEntry
equals(Object) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
 
equals(TarArchiveEntry) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Determine if the two entries are equal.
equals(Object) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Determine if the two entries are equal.
equals(Object) - Method in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
 
equals(Object) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
 
equals(Object) - Method in class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
Override to make two instances with same value 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
 
ExtraFieldUtils.UnparseableExtraField - Class in org.apache.commons.compress.archivers.zip
"enum" for the possible actions to take if the extra field cannot be parsed.

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.archivers.zip.ZipFile
Ensures that the close method of this zipfile is called when there are no more references to it.
finalize() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
Overriden to close the stream.
finish() - Method in class org.apache.commons.compress.archivers.ar.ArArchiveOutputStream
Finishes the addition of entries to this stream, without closing it.
finish() - Method in class org.apache.commons.compress.archivers.ArchiveOutputStream
Finishes the addition of entries to this stream, without closing it.
finish() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveOutputStream
Finishes writing the contents of the CPIO output stream without closing the underlying stream.
finish() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
Ends the TAR archive without closing the underlying OutputStream.
finish() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
Finishes the addition of entries to this stream, without closing it.
finish() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
 
finished - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
indicates if this archive is finished. protected for use in Jar implementation
flush() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
 
flush() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
Flushes this output stream and forces any buffered output bytes to be written out to the stream.
flush() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
 
FORMAT_NEW - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
write/read a CPIOArchiveEntry in the new format
FORMAT_NEW_CRC - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
write/read a CPIOArchiveEntry in the new format with crc
FORMAT_NEW_MASK - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
Mask for both new formats
FORMAT_OLD_ASCII - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
write/read a CPIOArchiveEntry in the old ascii format
FORMAT_OLD_BINARY - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
write/read a CPIOArchiveEntry in the old binary format
FORMAT_OLD_MASK - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
Mask for both old formats
FORMAT_OLDGNU - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
GNU format as per before tar 1.12.
FORMAT_POSIX - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
Pure Posix format.
formatCheckSumOctalBytes(long, byte[], int, int) - Static method in class org.apache.commons.compress.archivers.tar.TarUtils
Writes an octal value into a buffer.
formatLongOctalBytes(long, byte[], int, int) - Static method in class org.apache.commons.compress.archivers.tar.TarUtils
Write an octal long integer into a buffer.
formatNameBytes(String, byte[], int, int) - Static method in class org.apache.commons.compress.archivers.tar.TarUtils
Copy a name (StringBuffer) into a buffer.
formatOctalBytes(long, byte[], int, int) - Static method in class org.apache.commons.compress.archivers.tar.TarUtils
Write an octal integer into a buffer.
formatUnsignedOctalString(long, byte[], int, int) - Static method in class org.apache.commons.compress.archivers.tar.TarUtils
Fill buffer with unsigned octal number, padded with leading zeroes.
fromDosTime(ZipLong) - Static method in class org.apache.commons.compress.archivers.zip.ZipUtil
Convert a DOS date/time field to a Date object.

G

GeneralPurposeBit - Class in org.apache.commons.compress.archivers.zip
Parser/encoder for the "general purpose bit" field in ZIP's local file and central directory headers.
GeneralPurposeBit() - Constructor for class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
 
getAddedFromChangeSet() - Method in class org.apache.commons.compress.changes.ChangeSetResults
Returns a list of filenames which has been added from the changeset
getAddedFromStream() - Method in class org.apache.commons.compress.changes.ChangeSetResults
Returns a list of filenames which has been added from the original stream
getAlignmentBoundary() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Get the alignment boundary for this CPIO format
getBlockSize() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
Returns the blocksize parameter specified at construction time.
getBytes() - Method in class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
Get value as eight bytes in big endian byte order.
getBytes(long) - Static method in class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
Get value as eight bytes in big endian byte order.
getBytes(BigInteger) - Static method in class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
Get value as eight bytes in big endian byte order.
getBytes() - Method in class org.apache.commons.compress.archivers.zip.ZipLong
Get value as four bytes in big endian byte order.
getBytes(long) - Static method in class org.apache.commons.compress.archivers.zip.ZipLong
Get value as four 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.
getBytes(int) - Static method in class org.apache.commons.compress.archivers.zip.ZipShort
Get value as two bytes in big endian byte order.
getBytesRead() - Method in class org.apache.commons.compress.archivers.ArchiveInputStream
Returns the current number of bytes read from this stream.
getBytesRead() - Method in class org.apache.commons.compress.compressors.CompressorInputStream
Returns the current number of bytes read from this stream.
getBytesWritten() - Method in class org.apache.commons.compress.archivers.ArchiveOutputStream
Returns the current number of bytes written to this stream.
getCentralDirectoryData() - Method in class org.apache.commons.compress.archivers.zip.AbstractUnicodeExtraField
The actual data to put into central directory - without Header-ID or length specifier.
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.JarMarker
The actual data to put central directory - without Header-ID or length specifier.
getCentralDirectoryData() - Method in class org.apache.commons.compress.archivers.zip.UnparseableExtraFieldData
The actual data to put into central directory.
getCentralDirectoryData() - Method in class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
Get the central data.
getCentralDirectoryData() - Method in class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
The actual data to put into central directory - without Header-ID or length specifier.
getCentralDirectoryData() - Method in interface org.apache.commons.compress.archivers.zip.ZipExtraField
The actual data to put into central directory - without Header-ID or length specifier.
getCentralDirectoryExtra() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Retrieves the extra data for the central directory.
getCentralDirectoryLength() - Method in class org.apache.commons.compress.archivers.zip.AbstractUnicodeExtraField
Length of the extra field in the central directory - without Header-ID or length specifier.
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.JarMarker
Length of the extra field in the central directory - without Header-ID or length specifier.
getCentralDirectoryLength() - Method in class org.apache.commons.compress.archivers.zip.UnparseableExtraFieldData
Length of the complete extra field in the central directory.
getCentralDirectoryLength() - Method in class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
Get the central data length.
getCentralDirectoryLength() - Method in class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
Length of the extra field in the central directory - without Header-ID or length specifier.
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.
getCertificates() - Method in class org.apache.commons.compress.archivers.jar.JarArchiveEntry
 
getChksum() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Get the checksum.
getCompressedFilename(String) - Static method in class org.apache.commons.compress.compressors.bzip2.BZip2Utils
Maps the given filename to the name that the file should have after compression with bzip2.
getCompressedFilename(String) - Static method in class org.apache.commons.compress.compressors.gzip.GzipUtils
Maps the given filename to the name that the file should have after compression with gzip.
getCompressedSize() - Method in class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
The compressed size stored in this extra field.
getCount() - Method in class org.apache.commons.compress.archivers.ArchiveInputStream
Deprecated. this method may yield wrong results for large archives, use #getBytesRead instead
getCount() - Method in class org.apache.commons.compress.archivers.ArchiveOutputStream
Deprecated. this method may yield wrong results for large archives, use #getBytesWritten instead
getCount() - Method in class org.apache.commons.compress.compressors.CompressorInputStream
Deprecated. this method may yield wrong results for large archives, use #getBytesRead instead
getCurrentEntry() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
 
getDataPadCount() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Get the number of bytes needed to pad the data to the alignment boundary.
getDeleted() - Method in class org.apache.commons.compress.changes.ChangeSetResults
Returns a list of filenames which has been deleted
getDevice() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Get the device id.
getDeviceMaj() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Get the major device id.
getDeviceMin() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Get the minor device id
getDirectoryEntries() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
If this entry represents a file, and the file is a directory, return an array of TarEntries for this entry's children.
getDiskStartNumber() - Method in class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
The disk start number stored in this extra field.
getEncoding() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
The encoding to use for filenames and the file comment.
getEncoding() - Method in class org.apache.commons.compress.archivers.zip.ZipFile
The encoding to use for filenames and the file comment.
getEntries() - Method in class org.apache.commons.compress.archivers.zip.ZipFile
Returns all entries.
getEntriesInPhysicalOrder() - Method in class org.apache.commons.compress.archivers.zip.ZipFile
Returns all entries in physical order.
getEntry() - Method in exception org.apache.commons.compress.archivers.zip.UnsupportedZipFeatureException
The entry using the unsupported feature.
getEntry(String) - Method in class org.apache.commons.compress.archivers.zip.ZipFile
Returns a named entry - or null if no entry by that name exists.
getExternalAttributes() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Retrieves the external file attributes.
getExtraField(ZipShort) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Looks up an extra field by its header id.
getExtraFields() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Retrieves all extra fields that have been parsed successfully.
getExtraFields(boolean) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Retrieves extra fields.
getFeature() - Method in exception org.apache.commons.compress.archivers.zip.UnsupportedZipFeatureException
The unsupported feature that has been used.
getFile() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Get this entry's file.
getFormat() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Get the format for this entry.
getGeneralPurposeBit() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
The "general purpose bit" field.
getGID() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Get the group id.
getGroupId() - Method in class org.apache.commons.compress.archivers.ar.ArArchiveEntry
 
getGroupId() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Get this entry's group id.
getGroupId() - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
Get the group id.
getGroupName() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Get this entry's group name.
getHeaderId() - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
The Header-ID.
getHeaderId() - Method in class org.apache.commons.compress.archivers.zip.JarMarker
The Header-ID.
getHeaderId() - Method in class org.apache.commons.compress.archivers.zip.UnicodeCommentExtraField
The Header-ID.
getHeaderId() - Method in class org.apache.commons.compress.archivers.zip.UnicodePathExtraField
The Header-ID.
getHeaderId() - Method in class org.apache.commons.compress.archivers.zip.UnparseableExtraFieldData
The Header-ID.
getHeaderId() - Method in class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
Get the header id.
getHeaderId() - Method in class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
The Header-ID.
getHeaderId() - Method in interface org.apache.commons.compress.archivers.zip.ZipExtraField
The Header-ID.
getHeaderPadCount() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Get the number of bytes needed to pad the header to the alignment boundary.
getHeaderSize() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Get the header size for this CPIO format
getInode() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Set the inode.
getInputStream(ZipArchiveEntry) - Method in class org.apache.commons.compress.archivers.zip.ZipFile
Returns an InputStream for reading the contents of the given entry.
getInstance() - Static method in class org.apache.commons.compress.archivers.zip.JarMarker
Since JarMarker is stateless we can always use the same instance.
getInternalAttributes() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Retrieves the internal file attributes.
getKey() - Method in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils.UnparseableExtraField
Key of the action to take.
getLastModified() - Method in class org.apache.commons.compress.archivers.ar.ArArchiveEntry
Last modified time in seconds since the epoch.
getLastModifiedDate() - Method in class org.apache.commons.compress.archivers.ar.ArArchiveEntry
The last modified date of the entry.
getLastModifiedDate() - Method in interface org.apache.commons.compress.archivers.ArchiveEntry
The last modified date of the entry.
getLastModifiedDate() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
The last modified date of the entry.
getLastModifiedDate() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
The last modified date of the entry.
getLastModifiedDate() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
The last modified date of the entry.
getLength() - Method in class org.apache.commons.compress.archivers.ar.ArArchiveEntry
 
getLinkedFile() - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
Name of linked file
getLinkName() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Get this entry's link name.
getLocalFileDataData() - Method in class org.apache.commons.compress.archivers.zip.AbstractUnicodeExtraField
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.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.JarMarker
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.UnparseableExtraFieldData
The actual data to put into local file data.
getLocalFileDataData() - Method in class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
Get the local data.
getLocalFileDataData() - Method in class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
The actual data to put into local file data - without Header-ID or length specifier.
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.ZipArchiveEntry
Retrieves the extra data for the local file data.
getLocalFileDataLength() - Method in class org.apache.commons.compress.archivers.zip.AbstractUnicodeExtraField
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.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.JarMarker
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.UnparseableExtraFieldData
Length of the complete extra field in the local file data.
getLocalFileDataLength() - Method in class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
Get the length of the local data.
getLocalFileDataLength() - Method in class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
Length of the extra field in the local file data - without Header-ID or length specifier.
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.
getLongValue() - Method in class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
Get value as Java long.
getLongValue(byte[], int) - Static method in class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
Helper method to get the value as a Java long from eight bytes starting at given array offset
getLongValue(byte[]) - Static method in class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
Helper method to get the value as a Java long from an eight-byte array
getManifestAttributes() - Method in class org.apache.commons.compress.archivers.jar.JarArchiveEntry
 
getMethod() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Returns the compression method of this entry, or -1 if the compression method has not been specified.
getMode() - Method in class org.apache.commons.compress.archivers.ar.ArArchiveEntry
 
getMode() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Get the mode of this entry (e.g. directory, regular file).
getMode() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
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.TarArchiveEntry
Set this entry's modification time.
getName() - Method in class org.apache.commons.compress.archivers.ar.ArArchiveEntry
The name of the entry in the archive.
getName() - Method in interface org.apache.commons.compress.archivers.ArchiveEntry
The name of the entry in the archive.
getName() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Get the name.
getName() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Get this entry's name.
getName() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Get the name of the entry.
getNameCRC32() - Method in class org.apache.commons.compress.archivers.zip.AbstractUnicodeExtraField
 
getNextArEntry() - Method in class org.apache.commons.compress.archivers.ar.ArArchiveInputStream
Returns the next AR entry in this stream.
getNextCPIOEntry() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveInputStream
Reads the next CPIO file entry and positions stream at the beginning of the entry data.
getNextEntry() - Method in class org.apache.commons.compress.archivers.ar.ArArchiveInputStream
 
getNextEntry() - Method in class org.apache.commons.compress.archivers.ArchiveInputStream
Returns the next Archive Entry in this Stream.
getNextEntry() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveInputStream
Returns the next Archive Entry in this Stream.
getNextEntry() - Method in class org.apache.commons.compress.archivers.jar.JarArchiveInputStream
 
getNextEntry() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
 
getNextEntry() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
Returns the next Archive Entry in this Stream.
getNextJarEntry() - Method in class org.apache.commons.compress.archivers.jar.JarArchiveInputStream
 
getNextTarEntry() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
Get the next entry in this tar archive.
getNextZipEntry() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
 
getNumberOfLinks() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Get the number of links.
getPlatform() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Platform specification to put into the "version made by" part of the central file header.
getRawName() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Returns the raw bytes that made up the name before it has been converted using the configured or guessed encoding.
getRealSize() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Get this entry's real file size in case of a sparse file.
getRecordSize() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
Get the record size being used by this stream's TarBuffer.
getRecordSize() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
Get the record size being used by this stream's TarBuffer.
getRelativeHeaderOffset() - Method in class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
The relative header offset stored in this extra field.
getRemoteDevice() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Get the remote device id.
getRemoteDeviceMaj() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Get the remote major device id.
getRemoteDeviceMin() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Get the remote minor device id.
getSize() - Method in class org.apache.commons.compress.archivers.ar.ArArchiveEntry
The (uncompressed) size of the entry.
getSize() - Method in interface org.apache.commons.compress.archivers.ArchiveEntry
The (uncompressed) size of the entry.
getSize() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Get the filesize.
getSize() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Get this entry's file size.
getSize() - Method in class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
The uncompressed size stored in this extra field.
getTime() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Get the time in seconds.
getUID() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Get the user id.
getUncompressedFilename(String) - Static method in class org.apache.commons.compress.compressors.bzip2.BZip2Utils
Maps the given name of a bzip2-compressed file to the name that the file should have after uncompression.
getUncompressedFilename(String) - Static method in class org.apache.commons.compress.compressors.gzip.GzipUtils
Maps the given name of a gzip-compressed file to the name that the file should have after uncompression.
getUnicodeName() - Method in class org.apache.commons.compress.archivers.zip.AbstractUnicodeExtraField
 
getUnixMode() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Unix permission.
getUnparseableExtraFieldData() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Looks up extra field data that couldn't be parsed correctly.
getUserId() - Method in class org.apache.commons.compress.archivers.ar.ArArchiveEntry
 
getUserId() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Get this entry's user id.
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.TarArchiveEntry
Get this entry's user name.
getValue() - Method in class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
Get value as Java long.
getValue(byte[], int) - Static method in class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
Helper method to get the value as a Java BigInteger from eight bytes starting at given array offset
getValue(byte[]) - Static method in class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
Helper method to get the value as a Java long from an eight-byte array
getValue() - Method in class org.apache.commons.compress.archivers.zip.ZipLong
Get value as Java long.
getValue(byte[], int) - Static method in class org.apache.commons.compress.archivers.zip.ZipLong
Helper method to get the value as a Java long from four bytes starting at given array offset
getValue(byte[]) - Static method in class org.apache.commons.compress.archivers.zip.ZipLong
Helper method to get the value as a Java long from a four-byte array
getValue() - Method in class org.apache.commons.compress.archivers.zip.ZipShort
Get value as Java int.
getValue(byte[], int) - Static method in class org.apache.commons.compress.archivers.zip.ZipShort
Helper method to get the value as a java int from two bytes starting at given array offset
getValue(byte[]) - Static method in class org.apache.commons.compress.archivers.zip.ZipShort
Helper method to get the value as a java int from a two-byte array
GIDLEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
The length of the group id field in a header buffer.
GNAMELEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
The length of the group name field in a header buffer.
GNU_LONGLINK - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
The name of the GNU tar entry which contains a long name.
GZIP - Static variable in class org.apache.commons.compress.compressors.CompressorStreamFactory
Constant used to identify the GZIP compression algorithm.
GzipCompressorInputStream - Class in org.apache.commons.compress.compressors.gzip
Implements the "gz" compression format as an input stream.
GzipCompressorInputStream(InputStream) - Constructor for class org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream
Constructs a new GZip compressed input stream by the referenced InputStream.
GzipCompressorOutputStream - Class in org.apache.commons.compress.compressors.gzip
 
GzipCompressorOutputStream(OutputStream) - Constructor for class org.apache.commons.compress.compressors.gzip.GzipCompressorOutputStream
 
GzipUtils - Class in org.apache.commons.compress.compressors.gzip
Utility code for the gzip compression format.

H

hashCode() - Method in class org.apache.commons.compress.archivers.ar.ArArchiveEntry
hashCode() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
 
hashCode() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Hashcodes are based on entry names.
hashCode() - Method in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
 
hashCode() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Get the hashCode of the entry.
hashCode() - Method in class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
Override to make two instances with same value equal.
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.
HEADER - Static variable in class org.apache.commons.compress.archivers.ar.ArArchiveEntry
The header for each entry

I

IOUtils - Class in org.apache.commons.compress.utils
Utility functions
isAtEOF() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
 
isBlockDevice() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Check if this entry represents a block device.
isBlockDevice() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Check if this is a block device entry.
isCharacterDevice() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Check if this entry represents a character device.
isCharacterDevice() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Check if this is a character device entry.
isCompressedFilename(String) - Static method in class org.apache.commons.compress.compressors.bzip2.BZip2Utils
Detects common bzip2 suffixes in the given filename.
isCompressedFilename(String) - Static method in class org.apache.commons.compress.compressors.gzip.GzipUtils
Detects common gzip suffixes in the given filename.
isDescendent(TarArchiveEntry) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Determine if the given entry is a descendant of this entry.
isDirectory() - Method in class org.apache.commons.compress.archivers.ar.ArArchiveEntry
True if the entry refers to a directory
isDirectory() - Method in interface org.apache.commons.compress.archivers.ArchiveEntry
True if the entry refers to a directory
isDirectory() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Check if this entry represents a directory.
isDirectory() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
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?
isDirectory() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Is this entry a directory?
isEqual(byte[], int, int, byte[], int, int, boolean) - Static method in class org.apache.commons.compress.utils.ArchiveUtils
Compare byte buffers, optionally ignoring trailing nulls
isEqual(byte[], int, int, byte[], int, int) - Static method in class org.apache.commons.compress.utils.ArchiveUtils
Compare byte buffers
isEqual(byte[], byte[]) - Static method in class org.apache.commons.compress.utils.ArchiveUtils
Compare byte buffers
isEqual(byte[], byte[], boolean) - Static method in class org.apache.commons.compress.utils.ArchiveUtils
Compare byte buffers, optionally ignoring trailing nulls
isEqualWithNull(byte[], int, int, byte[], int, int) - Static method in class org.apache.commons.compress.utils.ArchiveUtils
Compare byte buffers, ignoring trailing nulls
isExtended() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Indicates in case of a sparse file if an extension sparse header follows.
isExtended() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveSparseEntry
 
ISEXTENDEDLEN_GNU - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
The length of the is extension field in an old GNU header buffer.
ISEXTENDEDLEN_GNU_SPARSE - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
The length of the is extension field in a sparse header buffer.
isFIFO() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Check if this is a FIFO (pipe) entry.
isFile() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Check if this is a "normal file"
isGlobalPaxHeader() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Check if this is a Pax header.
isGNULongNameEntry() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Indicate if this entry is a GNU long name block
isGNUSparse() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Indicate if this entry is a GNU sparse block
isLink() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Check if this is a link entry.
isLink() - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
Is this entry a symbolic link?
isNetwork() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Check if this entry represents a network device.
isPaxHeader() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Check if this is a Pax header.
isPipe() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Check if this entry represents a pipe.
isRegularFile() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Check if this entry represents a regular file.
isSeekable() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
This method indicates whether this archive is writing to a seekable stream (i.e., to a random access file).
isSocket() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Check if this entry represents a socket.
isSymbolicLink() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Check if this entry represents a symbolic link.
isSymbolicLink() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Check if this is a symbolic link entry.

J

JAR - Static variable in class org.apache.commons.compress.archivers.ArchiveStreamFactory
Constant used to identify the JAR archive format.
JarArchiveEntry - Class in org.apache.commons.compress.archivers.jar
 
JarArchiveEntry(ZipEntry) - Constructor for class org.apache.commons.compress.archivers.jar.JarArchiveEntry
 
JarArchiveEntry(String) - Constructor for class org.apache.commons.compress.archivers.jar.JarArchiveEntry
 
JarArchiveEntry(ZipArchiveEntry) - Constructor for class org.apache.commons.compress.archivers.jar.JarArchiveEntry
 
JarArchiveEntry(JarEntry) - Constructor for class org.apache.commons.compress.archivers.jar.JarArchiveEntry
 
JarArchiveInputStream - Class in org.apache.commons.compress.archivers.jar
Implements an input stream that can read entries from jar files.
JarArchiveInputStream(InputStream) - Constructor for class org.apache.commons.compress.archivers.jar.JarArchiveInputStream
 
JarArchiveOutputStream - Class in org.apache.commons.compress.archivers.jar
Subclass that adds a special extra field to the very first entry which allows the created archive to be used as an executable jar on Solaris.
JarArchiveOutputStream(OutputStream) - Constructor for class org.apache.commons.compress.archivers.jar.JarArchiveOutputStream
 
JarMarker - Class in org.apache.commons.compress.archivers.zip
If this extra field is added as the very first extra field of the archive, Solaris will consider it an executable jar file.
JarMarker() - Constructor for class org.apache.commons.compress.archivers.zip.JarMarker
No-arg constructor

L

LF_BLK - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
Block device file type.
LF_CHR - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
Character device file type.
LF_CONTIG - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
Contiguous file type.
LF_DIR - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
Directory file type.
LF_FIFO - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
FIFO (pipe) file type.
LF_GNUTYPE_LONGNAME - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
Identifies the *next* file on the tape as having a long name.
LF_GNUTYPE_SPARSE - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
Sparse file type.
LF_LINK - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
Link file type.
LF_NORMAL - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
Normal file type.
LF_OLDNORM - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
LF_ constants represent the "link flag" of an entry, or more commonly, the "entry type".
LF_PAX_EXTENDED_HEADER_LC - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
Identifies the entry as a Pax extended header.
LF_PAX_EXTENDED_HEADER_UC - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
Identifies the entry as a Pax extended header (SunOS tar -E).
LF_PAX_GLOBAL_EXTENDED_HEADER - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
Identifies the entry as a Pax global extended header.
LF_SYMLINK - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
Symbolic link file type.
LFH_SIG - Static variable in class org.apache.commons.compress.archivers.zip.ZipLong
Local File Header Signature
LINK_FLAG - Static variable in interface org.apache.commons.compress.archivers.zip.UnixStat
Indicates symbolic links.
Lister - Class in org.apache.commons.compress.archivers
Simple command line application that lists the contents of an archive.
Lister() - Constructor for class org.apache.commons.compress.archivers.Lister
 
LONGFILE_ERROR - Static variable in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
Fail if a long file name is required in the archive.
LONGFILE_GNU - Static variable in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
GNU tar extensions are used to store long file names in the archive.
LONGFILE_TRUNCATE - Static variable in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
Long paths will be truncated in the archive.
LONGNAMESLEN_GNU - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
The length of the long names field in an old GNU header buffer.

M

MAGIC_ANT - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
The magic tag representing an Ant tar archive.
MAGIC_GNU - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
The magic tag representing a GNU tar archive.
MAGIC_NEW - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
magic number of a cpio entry in the new format
MAGIC_NEW_CRC - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
magic number of a cpio entry in the new format with crc
MAGIC_OFFSET - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
Offset of start of magic field within header record
MAGIC_OLD_ASCII - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
magic number of a cpio entry in the old ascii format
MAGIC_OLD_BINARY - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
magic number of a cpio entry in the old binary format
MAGIC_POSIX - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
The magic tag representing a POSIX tar archive.
MAGICLEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
The length of the magic field in a header buffer.
main(String[]) - Static method in class org.apache.commons.compress.archivers.Lister
 
matchAsciiBuffer(String, byte[], int, int) - Static method in class org.apache.commons.compress.utils.ArchiveUtils
Check if buffer contents matches Ascii String.
matchAsciiBuffer(String, byte[]) - Static method in class org.apache.commons.compress.utils.ArchiveUtils
Check if buffer contents matches Ascii String.
matches(byte[], int) - Static method in class org.apache.commons.compress.archivers.ar.ArArchiveInputStream
Checks if the signature matches ASCII "!
matches(byte[], int) - Static method in class org.apache.commons.compress.archivers.cpio.CpioArchiveInputStream
Checks if the signature matches one of the following magic values: Strings: "070701" - MAGIC_NEW "070702" - MAGIC_NEW_CRC "070707" - MAGIC_OLD_ASCII Octal Binary value: 070707 - MAGIC_OLD_BINARY (held as a short) = 0x71C7 or 0xC771
matches(byte[], int) - Static method in class org.apache.commons.compress.archivers.jar.JarArchiveInputStream
Checks if the signature matches what is expected for a jar file (in this case it is the same as for a zip file).
matches(byte[], int) - Static method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
Checks if the signature matches what is expected for a tar file.
matches(byte[], int) - Static method in class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
Checks if the signature matches what is expected for a zip file.
matches(byte[], int) - Static method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
Checks if the signature matches what is expected for a bzip2 file.
matches(byte[], int) - Static method in class org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream
Checks if the signature matches what is expected for a gzip file.
MAX_BLOCKSIZE - Static variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
The maximum supported blocksize == 9.
MAX_NAMELEN - Static variable in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Maximum length of a user's name in the tar file
MAXSIZE - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
The maximum size of a file in a tar archive (That's 11 sevens, octal).
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.
METHOD - Static variable in class org.apache.commons.compress.archivers.zip.UnsupportedZipFeatureException.Feature
The entry used an unsupported compression method.
MILLIS_PER_SECOND - Static variable in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Convert millis to seconds
MIN_BLOCKSIZE - Static variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
The minimum supported blocksize == 1.
MODELEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
The length of the mode field in a header buffer.
MODTIMELEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
The length of the modification time field in a header buffer.

N

NAMELEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
The length of the name field in a header buffer.
NEVER - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.UnicodeExtraFieldPolicy
Never create Unicode extra fields.
NOT_ENCODEABLE - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.UnicodeExtraFieldPolicy
Create Unicode extra fields for filenames that cannot be encoded using the specified encoding.

O

OFFSETLEN_GNU - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
The length of the multivolume start offset field in an old GNU header buffer.
org.apache.commons.compress.archivers - package org.apache.commons.compress.archivers
Provides a unified API and factories for dealing with archives in different formats.
org.apache.commons.compress.archivers.ar - package org.apache.commons.compress.archivers.ar
Provides stream classes for reading and writing archives using the AR format.
org.apache.commons.compress.archivers.cpio - package org.apache.commons.compress.archivers.cpio
Provides stream classes for reading and writing archives using the CPIO format.
org.apache.commons.compress.archivers.jar - package org.apache.commons.compress.archivers.jar
Provides stream classes for reading and writing archives using the ZIP format with some extensions for the special case of JAR archives.
org.apache.commons.compress.archivers.tar - package org.apache.commons.compress.archivers.tar
Provides stream classes for reading and writing archives using the TAR format.
org.apache.commons.compress.archivers.zip - package org.apache.commons.compress.archivers.zip
Provides stream classes for reading and writing archives using the ZIP format.
org.apache.commons.compress.changes - package org.apache.commons.compress.changes
EXPERIMENTAL support for changesets that are applied to archives.
org.apache.commons.compress.compressors - package org.apache.commons.compress.compressors
Provides a unified API and factories for dealing with compressed streams.
org.apache.commons.compress.compressors.bzip2 - package org.apache.commons.compress.compressors.bzip2
Provides stream classes for compressing and decompressing streams using the BZip2 algorithm.
org.apache.commons.compress.compressors.gzip - package org.apache.commons.compress.compressors.gzip
Provides stream classes for compressing and decompressing streams using the GZip algorithm.
org.apache.commons.compress.utils - package org.apache.commons.compress.utils
Contains utilities used internally by the compress library.

P

PAD2LEN_GNU - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
The length of the padding field in an old GNU header buffer.
parse(byte[]) - Static method in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils
Split the array into ExtraFields and populate them with the given data as local file data, throwing an exception if the data cannot be parsed.
parse(byte[], boolean) - Static method in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils
Split the array into ExtraFields and populate them with the given data, throwing an exception if the data cannot be parsed.
parse(byte[], boolean, ExtraFieldUtils.UnparseableExtraField) - Static method in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils
Split the array into ExtraFields and populate them with the given data.
parse(byte[], int) - Static method in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
Parses the supported flags from the given archive data.
parseBoolean(byte[], int) - Static method in class org.apache.commons.compress.archivers.tar.TarUtils
Parse a boolean byte from a buffer.
parseFromCentralDirectoryData(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.AbstractUnicodeExtraField
Doesn't do anything special since this class always uses the same data in central directory and local file data.
parseFromCentralDirectoryData(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
Doesn't do anything special since this class always uses the same data in central directory and local file data.
parseFromCentralDirectoryData(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.JarMarker
Doesn't do anything special since this class always uses the same data in central directory and local file data.
parseFromCentralDirectoryData(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.UnparseableExtraFieldData
Populate data from this array as if it was in central directory data.
parseFromCentralDirectoryData(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
 
parseFromCentralDirectoryData(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
Populate data from this array as if it was in central directory data.
parseFromCentralDirectoryData(byte[], int, int) - Method in interface org.apache.commons.compress.archivers.zip.ZipExtraField
Populate data from this array as if it was in central directory data.
parseFromLocalFileData(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.AbstractUnicodeExtraField
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.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.JarMarker
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.UnparseableExtraFieldData
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
 
parseFromLocalFileData(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
Populate data from this array as if it was in local file data.
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 buffer.
parseOctal(byte[], int, int) - Static method in class org.apache.commons.compress.archivers.tar.TarUtils
Parse an octal string from a buffer.
parseTarHeader(byte[]) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Parse an entry's header information from a header buffer.
perform(ArchiveInputStream, ArchiveOutputStream) - Method in class org.apache.commons.compress.changes.ChangeSetPerformer
Performs all changes collected in this ChangeSet on the input stream and streams the result to the output stream.
PERM_MASK - Static variable in interface org.apache.commons.compress.archivers.zip.UnixStat
Bits used for permissions (and sticky bit)
PLATFORM_FAT - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
 
PLATFORM_UNIX - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
 
PREFIXLEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
Length of the prefix field.
pushedBackBytes(long) - Method in class org.apache.commons.compress.archivers.ArchiveInputStream
Decrements the counter of already read bytes.
putArchiveEntry(ArchiveEntry) - Method in class org.apache.commons.compress.archivers.ar.ArArchiveOutputStream
Writes the headers for an archive entry to the output stream.
putArchiveEntry(ArchiveEntry) - Method in class org.apache.commons.compress.archivers.ArchiveOutputStream
Writes the headers for an archive entry to the output stream.
putArchiveEntry(ArchiveEntry) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveOutputStream
Begins writing a new CPIO file entry and positions the stream to the start of the entry data.
putArchiveEntry(ArchiveEntry) - Method in class org.apache.commons.compress.archivers.jar.JarArchiveOutputStream
 
putArchiveEntry(ArchiveEntry) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
Put an entry on the output stream.
putArchiveEntry(ArchiveEntry) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
Writes the headers for an archive entry to the output stream.

R

read(byte[], int, int) - Method in class org.apache.commons.compress.archivers.ar.ArArchiveInputStream
 
read() - Method in class org.apache.commons.compress.archivers.ArchiveInputStream
Reads a byte of data.
read(byte[], int, int) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveInputStream
Reads from the current CPIO entry into an array of bytes.
read(byte[], int, int) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
Reads bytes from the current tar archive entry.
READ - Static variable in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils.UnparseableExtraField
Read the extra field data into an instance of UnparseableExtraFieldData.
read(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
 
read() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
read(byte[], int, int) - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
 
read() - Method in class org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream
read(byte[]) - Method in class org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream
read(byte[], int, int) - Method in class org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream
READ_KEY - Static variable in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils.UnparseableExtraField
Key for "read" action.
REALSIZELEN_GNU - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
The length of the real size field in an old GNU header buffer.
register(Class) - Static method in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils
Register a ZipExtraField implementation.
removeExtraField(ZipShort) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Remove an extra field.
removeUnparseableExtraFieldData() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Removes unparseable extra field data.
reset() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
Since we do not support marking just yet, we do nothing.

S

S_IFMT - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
Mask for all file type bits.
setAtEOF(boolean) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
 
setCentralDirectoryData(byte[]) - Method in class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
Set the extra field data in central directory.
setCentralDirectoryExtra(byte[]) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Sets the central directory part of extra fields.
setChksum(long) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Set the checksum.
setComment(String) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
Set the file comment.
setCreateUnicodeExtraFields(ZipArchiveOutputStream.UnicodeExtraFieldPolicy) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
Whether to create Unicode Extra Fields.
setCurrentEntry(TarArchiveEntry) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
 
setDevice(long) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Set the device id.
setDeviceMaj(long) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Set major device id.
setDeviceMin(long) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Set the minor device id
setDirectory(boolean) - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
Indicate whether this entry is a directory.
setEncoding(String) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
The encoding to use for filenames and the file comment.
setExternalAttributes(long) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Sets the external file attributes.
setExtra(byte[]) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Parses the given bytes as extra field data and consumes any unparseable data as an UnparseableExtraFieldData instance.
setExtra() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
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.ZipArchiveEntry
Replaces all currently attached extra fields with the new array.
setFallbackToUTF8(boolean) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
Whether to fall back to UTF and the language encoding flag if the file name cannot be encoded using the specified encoding.
setGeneralPurposeBit(GeneralPurposeBit) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
The "general purpose bit" field.
setGID(long) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Set the group id.
setGroupId(int) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Set this entry's group id.
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.TarArchiveEntry
Set this entry's group name.
setHeaderId(ZipShort) - Method in class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
Set the header id.
setIds(int, int) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Convenience method to set this entry's group and user ids.
setInode(long) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Set the inode.
setInternalAttributes(int) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Sets the internal file attributes.
setLevel(int) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
Sets the compression level for subsequent entries.
setLinkedFile(String) - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
Indicate that this entry is a symbolic link to the given filename.
setLinkName(String) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Set this entry's link name.
setLocalFileDataData(byte[]) - Method in class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
Set the extra field data in the local file data - without Header-ID or length specifier.
setLongFileMode(int) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
Set the long file mode.
setMethod(int) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Sets the compression method of this entry.
setMethod(int) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
Sets the default compression method for subsequent entries.
setMode(long) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Set the mode of this entry (e.g. directory, regular file).
setMode(int) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
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.TarArchiveEntry
Set this entry's modification time.
setModTime(Date) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Set this entry's modification time.
setName(String) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Set the name.
setName(String) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Set this entry's name.
setName(String) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Set the name of the entry.
setName(String, byte[]) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Sets the name using the raw bytes and the string created from it by guessing or using the configured encoding.
setNameCRC32(long) - Method in class org.apache.commons.compress.archivers.zip.AbstractUnicodeExtraField
 
setNames(String, String) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Convenience method to set this entry's group and user names.
setNumberOfLinks(long) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Set the number of links.
setPlatform(int) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Set the platform (UNIX or FAT).
setRemoteDevice(long) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Set the remote device id.
setRemoteDeviceMaj(long) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Set the remote major device id.
setRemoteDeviceMin(long) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Set the remote minor device id.
setSize(long) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Set the filesize.
setSize(long) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Set this entry's file size.
setTime(long) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Set the time in seconds.
setUID(long) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
Set the user id.
setUnicodeName(byte[]) - Method in class org.apache.commons.compress.archivers.zip.AbstractUnicodeExtraField
 
setUnixMode(int) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Sets Unix permissions in a way that is understood by Info-Zip's unzip command.
setUseLanguageEncodingFlag(boolean) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
Whether to set the language encoding flag if the file name encoding is UTF-8.
setUserId(int) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Set this entry's user id.
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.TarArchiveEntry
Set this entry's user name.
SIZE_UNKNOWN - Static variable in interface org.apache.commons.compress.archivers.ArchiveEntry
Special value indicating that the size is unknown
SIZELEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
The length of the size field in a header buffer.
skip(long) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveInputStream
Skips specified number of bytes in the current CPIO entry.
skip(long) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
Skip bytes in the input buffer.
SKIP - Static variable in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils.UnparseableExtraField
Skip the extra field entirely and don't make its data available - effectively removing the extra field data.
skip(long) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
Skips over and discards value bytes of data from this input stream.
SKIP_KEY - Static variable in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils.UnparseableExtraField
Key for "skip" action.
SPARSELEN_GNU - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
The sum of the length of all sparse headers in an old GNU header buffer.
SPARSELEN_GNU_SPARSE - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
The sum of the length of all sparse headers in a sparse header buffer.
STORED - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
Compression method for stored entries.

T

TAR - Static variable in class org.apache.commons.compress.archivers.ArchiveStreamFactory
Constant used to identify the TAR archive format.
TarArchiveEntry - Class in org.apache.commons.compress.archivers.tar
This class represents an entry in a Tar archive.
TarArchiveEntry(String) - Constructor for class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Construct an entry with only a name.
TarArchiveEntry(String, boolean) - Constructor for class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Construct an entry with only a name.
TarArchiveEntry(String, byte) - Constructor for class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Construct an entry with a name and a link flag.
TarArchiveEntry(File) - Constructor for class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Construct an entry for a file.
TarArchiveEntry(File, String) - Constructor for class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Construct an entry for a file.
TarArchiveEntry(byte[]) - Constructor for class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Construct an entry from an archive's header bytes.
TarArchiveInputStream - Class in org.apache.commons.compress.archivers.tar
The TarInputStream reads a UNIX tar archive as an InputStream.
TarArchiveInputStream(InputStream) - Constructor for class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
Constructor for TarInputStream.
TarArchiveInputStream(InputStream, int) - Constructor for class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
Constructor for TarInputStream.
TarArchiveInputStream(InputStream, int, int) - Constructor for class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
Constructor for TarInputStream.
TarArchiveOutputStream - Class in org.apache.commons.compress.archivers.tar
The TarOutputStream writes a UNIX tar archive as an OutputStream.
TarArchiveOutputStream(OutputStream) - Constructor for class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
Constructor for TarInputStream.
TarArchiveOutputStream(OutputStream, int) - Constructor for class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
Constructor for TarInputStream.
TarArchiveOutputStream(OutputStream, int, int) - Constructor for class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
Constructor for TarInputStream.
TarArchiveSparseEntry - Class in org.apache.commons.compress.archivers.tar
This class represents a sparse entry in a Tar archive.
TarArchiveSparseEntry(byte[]) - Constructor for class org.apache.commons.compress.archivers.tar.TarArchiveSparseEntry
Construct an entry from an archive's header bytes.
TarConstants - Interface in org.apache.commons.compress.archivers.tar
This interface contains all the definitions used in the package.
TarUtils - Class in org.apache.commons.compress.archivers.tar
This class provides static utility methods to work with byte streams.
THROW - Static variable in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils.UnparseableExtraField
Throw an exception if field cannot be parsed.
THROW_KEY - Static variable in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils.UnparseableExtraField
Key for "throw an exception" action.
toAsciiBytes(String) - Static method in class org.apache.commons.compress.utils.ArchiveUtils
Convert a string to Ascii bytes.
toAsciiString(byte[]) - Static method in class org.apache.commons.compress.utils.ArchiveUtils
Convert an input byte array to a String using the ASCII character set.
toAsciiString(byte[], int, int) - Static method in class org.apache.commons.compress.utils.ArchiveUtils
Convert an input byte array to a String using the ASCII character set.
toDosTime(Date) - Static method in class org.apache.commons.compress.archivers.zip.ZipUtil
Convert a Date object to a DOS date/time field.
toDosTime(long) - Static method in class org.apache.commons.compress.archivers.zip.ZipUtil
Convert a Date object to a DOS date/time field.
toString() - Method in class org.apache.commons.compress.archivers.zip.UnsupportedZipFeatureException.Feature
 
toString() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.UnicodeExtraFieldPolicy
 
toString() - Method in class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
 
toString() - Method in class org.apache.commons.compress.archivers.zip.ZipLong
 
toString() - Method in class org.apache.commons.compress.archivers.zip.ZipShort
 
toString(ArchiveEntry) - Static method in class org.apache.commons.compress.utils.ArchiveUtils
Generates a string containing the name, isDirectory setting and size of an entry.
TRAILER - Static variable in class org.apache.commons.compress.archivers.ar.ArArchiveEntry
The trailer for each entry

U

UCOM_ID - Static variable in class org.apache.commons.compress.archivers.zip.UnicodeCommentExtraField
 
UFT8_NAMES_FLAG - Static variable in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
Indicates that filenames are written in utf-8.
UIDLEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
The length of the user id field in a header buffer.
UNAMELEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
The length of the user name field in a header buffer.
UnicodeCommentExtraField - Class in org.apache.commons.compress.archivers.zip
Info-ZIP Unicode Comment Extra Field (0x6375): Stores the UTF-8 version of the file comment as stored in the central directory header.
UnicodeCommentExtraField() - Constructor for class org.apache.commons.compress.archivers.zip.UnicodeCommentExtraField
 
UnicodeCommentExtraField(String, byte[], int, int) - Constructor for class org.apache.commons.compress.archivers.zip.UnicodeCommentExtraField
Assemble as unicode comment extension from the name given as text as well as the encoded bytes actually written to the archive.
UnicodeCommentExtraField(String, byte[]) - Constructor for class org.apache.commons.compress.archivers.zip.UnicodeCommentExtraField
Assemble as unicode comment extension from the comment given as text as well as the bytes actually written to the archive.
UnicodePathExtraField - Class in org.apache.commons.compress.archivers.zip
Info-ZIP Unicode Path Extra Field (0x7075): Stores the UTF-8 version of the file name field as stored in the local header and central directory header.
UnicodePathExtraField() - Constructor for class org.apache.commons.compress.archivers.zip.UnicodePathExtraField
 
UnicodePathExtraField(String, byte[], int, int) - Constructor for class org.apache.commons.compress.archivers.zip.UnicodePathExtraField
Assemble as unicode path extension from the name given as text as well as the encoded bytes actually written to the archive.
UnicodePathExtraField(String, byte[]) - Constructor for class org.apache.commons.compress.archivers.zip.UnicodePathExtraField
Assemble as unicode path extension from the name given as text as well as the encoded bytes actually written to the archive.
UnixStat - Interface in org.apache.commons.compress.archivers.zip
Constants from stat.h on Unix systems.
UnparseableExtraFieldData - Class in org.apache.commons.compress.archivers.zip
Wrapper for extra field data that doesn't conform to the recommended format of header-tag + size + data.
UnparseableExtraFieldData() - Constructor for class org.apache.commons.compress.archivers.zip.UnparseableExtraFieldData
 
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
 
UnsupportedZipFeatureException - Exception in org.apache.commons.compress.archivers.zip
Exception thrown when attempting to read or write data for a zip entry that uses ZIP features not supported by this library.
UnsupportedZipFeatureException(UnsupportedZipFeatureException.Feature, ZipArchiveEntry) - Constructor for exception org.apache.commons.compress.archivers.zip.UnsupportedZipFeatureException
Creates an exception.
UnsupportedZipFeatureException.Feature - Class in org.apache.commons.compress.archivers.zip
ZIP Features that may or may not be supported.
UPATH_ID - Static variable in class org.apache.commons.compress.archivers.zip.UnicodePathExtraField
 
useDataDescriptor(boolean) - Method in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
whether the current entry will use the data descriptor to store CRC and size information
useEncryption(boolean) - Method in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
whether the current entry will be encrypted
usesDataDescriptor() - Method in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
whether the current entry uses the data descriptor to store CRC and size information
usesEncryption() - Method in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
whether the current entry is encrypted
usesStrongEncryption() - Method in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
whether the current entry is encrypted using strong encryption
useStrongEncryption(boolean) - Method in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
whether the current entry will be encrypted using strong encryption
usesUTF8ForNames() - Method in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
whether the current entry uses UTF8 for file name and comment.
useUTF8ForNames(boolean) - Method in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
whether the current entry will use UTF8 for file name and comment.

V

VERSION_ANT - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
The "version" representing an Ant tar archive.
VERSION_GNU_SPACE - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
 
VERSION_GNU_ZERO - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
 
VERSION_OFFSET - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
Offset of start of magic field within header record
VERSION_POSIX - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
 
VERSIONLEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
Previously this was regarded as part of "magic" field, but it is separate.

W

write(byte[], int, int) - Method in class org.apache.commons.compress.archivers.ar.ArArchiveOutputStream
 
write(int) - Method in class org.apache.commons.compress.archivers.ArchiveOutputStream
Writes a byte to the current archive entry.
write(byte[], int, int) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveOutputStream
Writes an array of bytes to the current CPIO entry data.
write(byte[], int, int) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
Writes bytes to the current tar archive entry.
write(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
Writes bytes to ZIP entry.
write(int) - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
write(byte[], int, int) - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
 
write(int) - Method in class org.apache.commons.compress.compressors.gzip.GzipCompressorOutputStream
write(byte[]) - Method in class org.apache.commons.compress.compressors.gzip.GzipCompressorOutputStream
write(byte[], int, int) - Method in class org.apache.commons.compress.compressors.gzip.GzipCompressorOutputStream
writeCentralDirectoryEnd() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
Writes the "End of central dir record".
writeCentralFileHeader(ZipArchiveEntry) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
Writes the central file header entry.
writeDataDescriptor(ZipArchiveEntry) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
Writes the data descriptor entry.
writeEntryHeader(byte[]) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
Write an entry's header information to a header buffer.
writeLocalFileHeader(ZipArchiveEntry) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
Writes the local file header entry
writeOut(byte[]) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
Write bytes to output or random access file.
writeOut(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
Write bytes to output or random access file.

Z

ZIP - Static variable in class org.apache.commons.compress.archivers.ArchiveStreamFactory
Constant used to identify the ZIP archive format.
Zip64ExtendedInformationExtraField - Class in org.apache.commons.compress.archivers.zip
Holds size and other extended information for entries that use Zip64 features.
Zip64ExtendedInformationExtraField() - Constructor for class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
This constructor should only be used by the code that reads archives inside of Commons Compress.
Zip64ExtendedInformationExtraField(ZipEightByteInteger, ZipEightByteInteger) - Constructor for class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
Creates an extra field based on the original and compressed size.
Zip64ExtendedInformationExtraField(ZipEightByteInteger, ZipEightByteInteger, ZipEightByteInteger, ZipLong) - Constructor for class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
Creates an extra field based on all four possible values.
ZipArchiveEntry - 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.
ZipArchiveEntry(String) - Constructor for class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Creates a new zip entry with the specified name.
ZipArchiveEntry(ZipEntry) - Constructor for class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Creates a new zip entry with fields taken from the specified zip entry.
ZipArchiveEntry(ZipArchiveEntry) - Constructor for class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Creates a new zip entry with fields taken from the specified zip entry.
ZipArchiveEntry() - Constructor for class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
 
ZipArchiveEntry(File, String) - Constructor for class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
Creates a new zip entry taking some information from the given file and using the provided name.
ZipArchiveInputStream - Class in org.apache.commons.compress.archivers.zip
Implements an input stream that can read Zip archives.
ZipArchiveInputStream(InputStream) - Constructor for class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
 
ZipArchiveInputStream(InputStream, String, boolean) - Constructor for class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
 
ZipArchiveInputStream(InputStream, String, boolean, boolean) - Constructor for class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
 
ZipArchiveOutputStream - Class in org.apache.commons.compress.archivers.zip
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.
ZipArchiveOutputStream(OutputStream) - Constructor for class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
Creates a new ZIP OutputStream filtering the underlying stream.
ZipArchiveOutputStream(File) - Constructor for class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
Creates a new ZIP OutputStream writing to a File.
ZipArchiveOutputStream.UnicodeExtraFieldPolicy - Class in org.apache.commons.compress.archivers.zip
enum that represents the possible policies for creating Unicode extra fields.
ZipEightByteInteger - Class in org.apache.commons.compress.archivers.zip
Utility class that represents an eight byte integer with conversion rules for the big endian byte order of ZIP files.
ZipEightByteInteger(long) - Constructor for class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
Create instance from a number.
ZipEightByteInteger(BigInteger) - Constructor for class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
Create instance from a number.
ZipEightByteInteger(byte[]) - Constructor for class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
Create instance from bytes.
ZipEightByteInteger(byte[], int) - Constructor for class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
Create instance from the eight bytes starting at offset.
ZipExtraField - Interface in org.apache.commons.compress.archivers.zip
General format of extra field data.
ZipFile - Class in org.apache.commons.compress.archivers.zip
Replacement for java.util.ZipFile.
ZipFile(File) - Constructor for class org.apache.commons.compress.archivers.zip.ZipFile
Opens the given file for reading, assuming "UTF8" for file names.
ZipFile(String) - Constructor for class org.apache.commons.compress.archivers.zip.ZipFile
Opens the given file for reading, assuming "UTF8".
ZipFile(String, String) - Constructor for class org.apache.commons.compress.archivers.zip.ZipFile
Opens the given file for reading, assuming the specified encoding for file names, scanning unicode extra fields.
ZipFile(File, String) - Constructor for class org.apache.commons.compress.archivers.zip.ZipFile
Opens the given file for reading, assuming the specified encoding for file names and scanning for unicode extra fields.
ZipFile(File, String, boolean) - Constructor for class org.apache.commons.compress.archivers.zip.ZipFile
Opens the given file for reading, assuming the specified encoding for file names.
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.
ZipUtil - Class in org.apache.commons.compress.archivers.zip
Utility class for handling DOS and Java time conversions.
ZipUtil() - Constructor for class org.apache.commons.compress.archivers.zip.ZipUtil
 

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

Copyright © 2011 The Apache Software Foundation. All Rights Reserved.