- 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.
- addAddition(Change) - Method in class org.apache.commons.compress.changes.ChangeSet
-
Adds an addition change.
- 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.
- addDeletion(Change) - Method in class org.apache.commons.compress.changes.ChangeSet
-
Adds an delete change.
- addDummy() - Method in class org.apache.commons.compress.archivers.zip.ZipFile.BoundedInputStream
-
Inflater needs an extra dummy byte for nowrap - see
Inflater's javadocs.
- addDummyByte - Variable in class org.apache.commons.compress.archivers.zip.ZipFile.BoundedInputStream
-
- addedFromChangeSet - Variable in class org.apache.commons.compress.changes.ChangeSetResults
-
- addedFromChangeSet(String) - Method in class org.apache.commons.compress.changes.ChangeSetResults
-
Adds the name of a file to the result list which has been
copied from the changeset to the target stream
- addedFromStream - Variable in class org.apache.commons.compress.changes.ChangeSetResults
-
- addedFromStream(String) - Method in class org.apache.commons.compress.changes.ChangeSetResults
-
Adds the name of a file to the result list which has been
copied from the source stream to the target stream.
- 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.
- alignmentBoundary - Variable in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
The boundary to which the header and data elements are aligned: 0, 2 or 4 bytes
- allowableBlockSize - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
- allowStoredEntriesWithDataDescriptor - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
-
- ALWAYS - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.UnicodeExtraFieldPolicy
-
Always create Unicode extra fields.
- appendSurrogate(ByteBuffer, char) - Static method in class org.apache.commons.compress.archivers.zip.ZipEncodingHelper
-
Append %Uxxxx
to the given byte buffer.
- 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
-
- archive - Variable in class org.apache.commons.compress.archivers.zip.ZipFile
-
The actual data source.
- 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
-
- archiveOffset - Variable in class org.apache.commons.compress.archivers.ar.ArArchiveOutputStream
-
- 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
- ArchiveUtils() - Constructor for class org.apache.commons.compress.utils.ArchiveUtils
-
Private constructor to prevent instantiation of this utility class.
- 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.
- asInt(byte[]) - Method in class org.apache.commons.compress.archivers.ar.ArArchiveInputStream
-
- asInt(byte[], int) - Method in class org.apache.commons.compress.archivers.ar.ArArchiveInputStream
-
- asLong(byte[]) - Method in class org.apache.commons.compress.archivers.ar.ArArchiveInputStream
-
- assembleData() - Method in class org.apache.commons.compress.archivers.zip.AbstractUnicodeExtraField
-
- assemBuf - Variable in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
-
- assemLen - Variable in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
-
- 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.
- 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
- canEncode(String) - Method in class org.apache.commons.compress.archivers.zip.FallbackZipEncoding
-
- canEncode(String) - Method in class org.apache.commons.compress.archivers.zip.NioZipEncoding
-
- canEncode(String) - Method in class org.apache.commons.compress.archivers.zip.Simple8BitZipEncoding
-
- canEncode(String) - Method in interface org.apache.commons.compress.archivers.zip.ZipEncoding
-
Check, whether the given string may be losslessly encoded using this
encoding.
- canEncodeChar(char) - Method in class org.apache.commons.compress.archivers.zip.Simple8BitZipEncoding
-
- canHandleEntryData(ZipArchiveEntry) - Static method in class org.apache.commons.compress.archivers.zip.ZipUtil
-
Whether this library is able to read or write the given entry.
- 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.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.
- cdLength - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Length of central directory.
- cdOffset - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Start of central directory.
- centralData - Variable in class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
-
Extra field data in central directory - without
Header-ID or length specifier.
- centralDirectoryData - Variable in class org.apache.commons.compress.archivers.zip.UnparseableExtraFieldData
-
- certificates - Variable in class org.apache.commons.compress.archivers.jar.JarArchiveEntry
-
- CFD_LOCATOR_OFFSET - Static variable in class org.apache.commons.compress.archivers.zip.ZipFile
-
- CFH_LEN - Static variable in class org.apache.commons.compress.archivers.zip.ZipFile
-
- CFH_SIG - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
central file header signature
- CFH_SIG - Static variable in class org.apache.commons.compress.archivers.zip.ZipLong
-
Central File Header Signature
- cftab - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream.Data
-
- Change - Class in org.apache.commons.compress.changes
-
Change holds meta information about a change.
- Change(String, int) - Constructor for class org.apache.commons.compress.changes.Change
-
Constructor.
- Change(ArchiveEntry, InputStream, boolean) - Constructor for class org.apache.commons.compress.changes.Change
-
Construct a change which adds an entry.
- changes - Variable in class org.apache.commons.compress.changes.ChangeSet
-
- changes - Variable in class org.apache.commons.compress.changes.ChangeSetPerformer
-
- 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
-
- charset - Variable in class org.apache.commons.compress.archivers.zip.FallbackZipEncoding
-
- charset - Variable in class org.apache.commons.compress.archivers.zip.NioZipEncoding
-
- checkMagicChar(char, String) - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- checkNewFormat() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Check if the method is allowed for the defined format.
- checkOldFormat() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Check if the method is allowed for the defined format.
- checkRequestedFeatures(ZipArchiveEntry) - Static method in class org.apache.commons.compress.archivers.zip.ZipUtil
-
Checks whether the entry requires features not (yet) supported
by the library and throws an exception if it does.
- checksig(byte[], byte[]) - Static method in class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
-
- chksum - Variable in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
- 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.
- CLEARMASK - Static variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
- 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.tar.TarBuffer
-
Close the TarBuffer.
- 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.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.
- closed - Variable in class org.apache.commons.compress.archivers.ar.ArArchiveInputStream
-
- closed - Variable in class org.apache.commons.compress.archivers.cpio.CpioArchiveInputStream
-
- closed - Variable in class org.apache.commons.compress.archivers.cpio.CpioArchiveOutputStream
-
- closed - Variable in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
-
- closed - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
-
- closeEntry() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveInputStream
-
Closes the current CPIO entry and positions the stream for reading the
next entry.
- closeEntry() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
-
Closes the current ZIP archive entry and positions the underlying
stream to the beginning of the next 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
- code - Variable in class org.apache.commons.compress.archivers.zip.Simple8BitZipEncoding.Simple8BitChar
-
- combinedCRC - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
- comment - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
The file comment.
- comment - Variable in class org.apache.commons.compress.archivers.zip.ZipFile.NameAndComment
-
- compareTo(Object) - Method in class org.apache.commons.compress.archivers.zip.Simple8BitZipEncoding.Simple8BitChar
-
- complete() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- 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
-
- compressSuffix - Static variable in class org.apache.commons.compress.compressors.gzip.GzipUtils
-
Map from common filename suffixes to the suffixes that identify gzipped
versions of those file types.
- computeCheckSum(byte[]) - Static method in class org.apache.commons.compress.archivers.tar.TarUtils
-
Compute the checksum of a tar entry header.
- computedBlockCRC - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- computedCombinedCRC - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- copy(byte[]) - Static method in class org.apache.commons.compress.archivers.zip.ZipUtil
-
Create a copy of the given array - or return null if the
argument is null.
- 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
- copyStream(InputStream, ArchiveOutputStream, ArchiveEntry) - Method in class org.apache.commons.compress.changes.ChangeSetPerformer
-
Copies the ArchiveEntry to the Output stream
- 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.
- CpioUtil - Class in org.apache.commons.compress.archivers.cpio
-
Package private utility class for Cpio
- CpioUtil() - Constructor for class org.apache.commons.compress.archivers.cpio.CpioUtil
-
- crc - Variable in class org.apache.commons.compress.archivers.cpio.CpioArchiveInputStream
-
- crc - Variable in class org.apache.commons.compress.archivers.cpio.CpioArchiveOutputStream
-
- crc - Variable in class org.apache.commons.compress.archivers.zip.AsiExtraField
-
Instance used to calculate checksums.
- crc - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
-
- crc - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
CRC instance to avoid parsing DEFLATED data twice.
- crc - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- crc - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
- CRC - Class in org.apache.commons.compress.compressors.bzip2
-
A simple class the hold and calculate the CRC for sanity checking of the
data.
- CRC() - Constructor for class org.apache.commons.compress.compressors.bzip2.CRC
-
- crc32Table - Static variable in class org.apache.commons.compress.compressors.bzip2.CRC
-
- 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
-
- createHuffmanDecodingTables(int, int) - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
Called by recvDecodingTables() exclusively.
- createUnicodeExtraFields - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
whether to create UnicodePathExtraField-s for each entry.
- currBlkIdx - Variable in class org.apache.commons.compress.archivers.tar.TarBuffer
-
- currBytes - Variable in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
-
- current - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
-
- currentChar - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- currentChar - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
- currentEntry - Variable in class org.apache.commons.compress.archivers.ar.ArArchiveInputStream
-
- currEntry - Variable in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
-
- currentState - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- currName - Variable in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
-
- currRecIdx - Variable in class org.apache.commons.compress.archivers.tar.TarBuffer
-
- currSize - Variable in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
-
- data - Variable in class org.apache.commons.compress.archivers.zip.AbstractUnicodeExtraField
-
- data - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
All memory intensive stuff.
- data - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
All memory intensive stuff.
- DATA_DESCRIPTOR - Static variable in class org.apache.commons.compress.archivers.zip.UnsupportedZipFeatureException.Feature
-
The entry uses a data descriptor.
- DATA_DESCRIPTOR_FLAG - Static variable in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
-
Indicates that a data descriptor stored after the file contents
will hold CRC and size information.
- dataDescriptorFlag - Variable in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
-
- dataOffset - Variable in class org.apache.commons.compress.archivers.zip.ZipFile.OffsetEntry
-
- dataStart - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Data for local header data
- DD_SIG - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
data descriptor signature
- DD_SIG - Static variable in class org.apache.commons.compress.archivers.zip.ZipLong
-
Data Descriptor signature
- decode(byte[]) - Method in class org.apache.commons.compress.archivers.zip.FallbackZipEncoding
-
- decode(byte[]) - Method in class org.apache.commons.compress.archivers.zip.NioZipEncoding
-
- decode(byte[]) - Method in class org.apache.commons.compress.archivers.zip.Simple8BitZipEncoding
-
- decode(byte[]) - Method in interface org.apache.commons.compress.archivers.zip.ZipEncoding
-
- decodeByte(byte) - Method in class org.apache.commons.compress.archivers.zip.Simple8BitZipEncoding
-
Return the character code for a given encoded byte.
- def - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
This Deflater object is used for output.
- DEFAULT - Static variable in class org.apache.commons.compress.archivers.zip.JarMarker
-
- DEFAULT_BLKSIZE - Static variable in class org.apache.commons.compress.archivers.tar.TarBuffer
-
Default block size
- 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_ENCODING - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
default encoding for file names and comment.
- 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.
- DEFAULT_MODE - Static variable in class org.apache.commons.compress.archivers.ar.ArArchiveEntry
-
- DEFAULT_RCDSIZE - Static variable in class org.apache.commons.compress.archivers.tar.TarBuffer
-
Default record size
- 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.
- DEFLATER_BLOCK_SIZE - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
- deflateUntilInputIsNeeded() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
- delete(String) - Method in class org.apache.commons.compress.changes.ChangeSet
-
Deletes the file with the filename from the archive.
- deleted - Variable in class org.apache.commons.compress.changes.ChangeSetResults
-
- deleted(String) - Method in class org.apache.commons.compress.changes.ChangeSetResults
-
Adds the filename of a recently deleted file to the result list.
- deleteDir(String) - Method in class org.apache.commons.compress.changes.ChangeSet
-
Deletes the directory tree from the archive.
- DEPTH_THRESH - Static variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
- 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.
- devMajor - Variable in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
The entry's major device number.
- devMinor - Variable in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
The entry's minor device number.
- DIR_FLAG - Static variable in interface org.apache.commons.compress.archivers.zip.UnixStat
-
Indicates directories.
- dirFlag - Variable in class org.apache.commons.compress.archivers.zip.AsiExtraField
-
Is this an entry for a directory?
- DOS_TIME_MIN - Static variable in class org.apache.commons.compress.archivers.zip.ZipUtil
-
Smallest date/time ZIP can handle.
- dosToJavaTime(long) - Static method in class org.apache.commons.compress.archivers.zip.ZipUtil
-
Converts DOS time to Java time (number of milliseconds since
epoch).
- factory - Static variable in class org.apache.commons.compress.archivers.Lister
-
- fallbackToUTF8 - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Whether to encode non-encodable file names as UTF-8.
- FallbackZipEncoding - Class in org.apache.commons.compress.archivers.zip
-
A fallback ZipEncoding, which uses a java.io means to encode names.
- FallbackZipEncoding() - Constructor for class org.apache.commons.compress.archivers.zip.FallbackZipEncoding
-
Construct a fallback zip encoding, which uses the platform's
default charset.
- FallbackZipEncoding(String) - Constructor for class org.apache.commons.compress.archivers.zip.FallbackZipEncoding
-
Construct a fallback zip encoding, which uses the given charset.
- file - Variable in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
The entry's file reference
- FILE_FLAG - Static variable in interface org.apache.commons.compress.archivers.zip.UnixStat
-
Indicates plain files.
- fileFormat - Variable in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
See constructor documenation for possible values.
- filesize - Variable in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Number of bytes in the file
- fill(long, long, char) - Method in class org.apache.commons.compress.archivers.ar.ArArchiveOutputStream
-
- fill() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
-
- 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.ar.ArArchiveOutputStream
-
indicates if this archive is finished
- finished - Variable in class org.apache.commons.compress.archivers.cpio.CpioArchiveOutputStream
-
indicates if this archive is finished
- finished - Variable in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
-
indicates if this archive is finished
- finished - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
indicates if this archive is finished.
- firstAttempt - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
- 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
-
- flushBlock() - Method in class org.apache.commons.compress.archivers.tar.TarBuffer
-
Flush the current data block if it has any data in it.
- fmap - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream.Data
-
- 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
- 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.
- ftab - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream.Data
-
- G_SIZE - Static variable in interface org.apache.commons.compress.compressors.bzip2.BZip2Constants
-
- 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
-
- generateMTFValues() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
- generateMTFValues_yy - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream.Data
-
- 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
- getAndMoveToFrontDecode() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- getAndMoveToFrontDecode0(int) - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- getAndMoveToFrontDecode_yy - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream.Data
-
- getBlockSize() - Method in class org.apache.commons.compress.archivers.tar.TarBuffer
-
Get the TAR Buffer's block size.
- 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.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 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 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
-
- getChanges() - Method in class org.apache.commons.compress.changes.ChangeSet
-
Returns the list of changes as a copy.
- 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.
- 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
- getCurrentBlockNum() - Method in class org.apache.commons.compress.archivers.tar.TarBuffer
-
Get the current block number, zero based.
- getCurrentEntry() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
-
- getCurrentRecordNum() - Method in class org.apache.commons.compress.archivers.tar.TarBuffer
-
Get the current record number, within the current block, zero based.
- 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.
- 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.ZipEncodingHelper.SimpleEncodingHolder
-
- 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.
- getEntry() - Method in class org.apache.commons.compress.changes.Change
-
- getExtendedName(int) - Method in class org.apache.commons.compress.archivers.ar.ArArchiveInputStream
-
Get an extended name from the GNU extended name buffer.
- 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.
- getFinalCRC() - Method in class org.apache.commons.compress.compressors.bzip2.CRC
-
- 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.
- getGlobalCRC() - Method in class org.apache.commons.compress.compressors.bzip2.CRC
-
- 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 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.
- getInput() - Method in class org.apache.commons.compress.changes.Change
-
- 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 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 interface org.apache.commons.compress.archivers.zip.ZipExtraField
-
Length of the extra field in the local file data - without Header-ID or
length specifier.
- 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.
- 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.
- 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.
- getRecordSize() - Method in class org.apache.commons.compress.archivers.tar.TarBuffer
-
Get the TAR Buffer's record size.
- 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.
- 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
-
- getUnicodeStringIfOriginalMatches(AbstractUnicodeExtraField, byte[]) - Static method in class org.apache.commons.compress.archivers.zip.ZipUtil
-
If the stored CRC matches the one of the given name, return the
Unicode name of the given field.
- 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.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
- getZipEncoding(String) - Static method in class org.apache.commons.compress.archivers.zip.ZipEncodingHelper
-
Instantiates a zip encoding.
- gid - Variable in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
- gid - Variable in class org.apache.commons.compress.archivers.zip.AsiExtraField
-
Group ID.
- GIDLEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The length of the group id field in a header buffer.
- globalCrc - Variable in class org.apache.commons.compress.compressors.bzip2.CRC
-
- 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.
- gpb - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
- GREATER_ICOST - Static variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
- groupId - Variable in class org.apache.commons.compress.archivers.ar.ArArchiveEntry
-
- groupId - Variable in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
The entry's group id.
- groupName - Variable in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
The entry's group name.
- growBuffer(ByteBuffer, int) - Static method in class org.apache.commons.compress.archivers.zip.ZipEncodingHelper
-
Grow a byte buffer, so it has a minimal capacity or at least
the double capacity of the original buffer
- 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.
- GzipUtils() - Constructor for class org.apache.commons.compress.compressors.gzip.GzipUtils
-
Private constructor to prevent instantiation of this utility class.
- ID - Static variable in class org.apache.commons.compress.archivers.zip.JarMarker
-
- implementations - Static variable in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils
-
Static registry of known extra fields.
- in - Variable in class org.apache.commons.compress.archivers.cpio.CpioArchiveInputStream
-
- in - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
-
- in - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- in - Variable in class org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream
-
- INCS - Static variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
Knuth's increments seem to work better than Incerpi-Sedgewick here.
- inf - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
-
- init() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- init() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
Writes magic bytes like BZ on the first position of the stream
and bytes indiciating the file-format, which is
huffmanised, followed by a digit indicating blockSize100k.
- initBlock() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- initBlock() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
- initialiseCRC() - Method in class org.apache.commons.compress.compressors.bzip2.CRC
-
- initialize(int, int) - Method in class org.apache.commons.compress.archivers.tar.TarBuffer
-
Initialization common to all constructors.
- initTT(int) - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream.Data
-
- inode - Variable in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
- input - Variable in class org.apache.commons.compress.archivers.ar.ArArchiveInputStream
-
- input - Variable in class org.apache.commons.compress.changes.Change
-
- inStream - Variable in class org.apache.commons.compress.archivers.tar.TarBuffer
-
- internalAttributes - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
- inUse - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream.Data
-
- inUse - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream.Data
-
- IOUtils - Class in org.apache.commons.compress.utils
-
Utility functions
- IOUtils() - Constructor for class org.apache.commons.compress.utils.IOUtils
-
Private constructor to prevent instantiation of this utility class.
- 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.
- isCharacterDevice() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Check if this entry represents a character device.
- 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.
- isDeletedLater(Set, ArchiveEntry) - Method in class org.apache.commons.compress.changes.ChangeSetPerformer
-
Checks if an ArchiveEntry is deleted later in the ChangeSet.
- 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?
- isEOFRecord(byte[]) - Method in class org.apache.commons.compress.archivers.tar.TarBuffer
-
Determine if an archive record indicate End of Archive.
- 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
- 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
- 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.
- isReplaceMode() - Method in class org.apache.commons.compress.changes.Change
-
- 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.
- isUTF8(String) - Static method in class org.apache.commons.compress.archivers.zip.ZipEncodingHelper
-
Whether a given encoding - or the platform's default encoding
if the parameter is null - is UTF-8.
- magic - Variable in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
The entry's magic tag.
- 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
-
- mainQSort3(BZip2CompressorOutputStream.Data, int, int, int) - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
Method "mainQSort3", file "blocksort.c", BZip2 1.0.2
- mainSimpleSort(BZip2CompressorOutputStream.Data, int, int, int) - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
This is the most hammered method of this class.
- mainSort() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
- mainSort_bigDone - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream.Data
-
- mainSort_copy - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream.Data
-
- mainSort_runningOrder - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream.Data
-
- maj - Variable in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
- makeMaps() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- manifestAttributes - Variable in class org.apache.commons.compress.archivers.jar.JarArchiveEntry
-
- 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 "!
" followed by a single LF
control character
- 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_ALPHA_SIZE - Static variable in interface org.apache.commons.compress.compressors.bzip2.BZip2Constants
-
- MAX_BLOCKSIZE - Static variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
The maximum supported blocksize == 9.
- MAX_CODE_LEN - Static variable in interface org.apache.commons.compress.compressors.bzip2.BZip2Constants
-
- MAX_EOCD_SIZE - Static variable in class org.apache.commons.compress.archivers.zip.ZipFile
-
- MAX_NAMELEN - Static variable in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Maximum length of a user's name in the tar file
- MAX_SELECTORS - Static variable in interface org.apache.commons.compress.compressors.bzip2.BZip2Constants
-
- 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).
- med3(byte, byte, byte) - Static method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
- mergeCentralDirectoryData(ZipExtraField[]) - Static method in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils
-
Merges the central directory fields of the given ZipExtraFields.
- mergeExtraFields(ZipExtraField[], boolean) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
If there are no extra fields, use the given fields as new extra
data - otherwise merge the fields assuming the existing fields
and the new fields stem from different locations inside the
archive.
- 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.
- method - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
The ZipEntry
base class only supports
the compression methods STORED and DEFLATED.
- method - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Default compression method for next entry.
- MILLIS_PER_SECOND - Static variable in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Convert millis to seconds
- min - Variable in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
- MIN_BLOCKSIZE - Static variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
The minimum supported blocksize == 1.
- MIN_EOCD_SIZE - Static variable in class org.apache.commons.compress.archivers.zip.ZipFile
-
- minLens - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream.Data
-
- mode - Variable in class org.apache.commons.compress.archivers.ar.ArArchiveEntry
-
- mode - Variable in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
- mode - Variable in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
The entry's permission mode.
- mode - Variable in class org.apache.commons.compress.archivers.zip.AsiExtraField
-
Standard Unix stat(2) file mode.
- MODELEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The length of the mode field in a header buffer.
- modTime - Variable in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
The entry's modification time.
- MODTIMELEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The length of the modification time field in a header buffer.
- moveToFrontCodeAndSend() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
- mtfFreq - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream.Data
-
- mtime - Variable in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
- pad(int) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveOutputStream
-
- parent - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream.Data
-
- 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.
- 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 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 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.
- paxHeaders() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
-
- 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 - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream.Data
-
- PERM_MASK - Static variable in interface org.apache.commons.compress.archivers.zip.UnixStat
-
Bits used for permissions (and sticky bit)
- platform - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
- 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
-
- populateFromCentralDirectory() - Method in class org.apache.commons.compress.archivers.zip.ZipFile
-
Reads the central directory of the given archive and populates
the internal tables with ZipArchiveEntry instances.
- POS_0 - Static variable in class org.apache.commons.compress.archivers.zip.ZipFile
-
- POS_1 - Static variable in class org.apache.commons.compress.archivers.zip.ZipFile
-
- POS_2 - Static variable in class org.apache.commons.compress.archivers.zip.ZipFile
-
- POS_3 - Static variable in class org.apache.commons.compress.archivers.zip.ZipFile
-
- positionAtCentralDirectory() - Method in class org.apache.commons.compress.archivers.zip.ZipFile
-
Searches for the "End of central dir record", parses
it and positions the stream at the first central directory
record.
- PREFIXLEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
Length of the prefix field.
- prevEntry - Variable in class org.apache.commons.compress.archivers.ar.ArArchiveOutputStream
-
- pushedBackBytes(long) - Method in class org.apache.commons.compress.archivers.ArchiveInputStream
-
Decrements the counter of already read bytes.
- pushEncodedChar(ByteBuffer, char) - Method in class org.apache.commons.compress.archivers.zip.Simple8BitZipEncoding
-
Pushes the encoded form of the given character to the given byte buffer.
- 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.
- S_IFMT - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
Mask for all file type bits.
- selector - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream.Data
-
- selector - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream.Data
-
- selectorMtf - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream.Data
-
- selectorMtf - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream.Data
-
- sendMTFValues() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
- sendMTFValues0(int, int) - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
- sendMTFValues1(int, int) - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
- sendMTFValues2(int, int) - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
- sendMTFValues2_pos - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream.Data
-
- sendMTFValues3(int, int) - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
- sendMTFValues4() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
- sendMTFValues5(int, int) - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
- sendMTFValues6(int, int) - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
- sendMTFValues7(int) - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
- sendMTFValues_code - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream.Data
-
- sendMTFValues_cost - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream.Data
-
- sendMTFValues_fave - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream.Data
-
- sendMTFValues_len - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream.Data
-
- sendMTFValues_rfreq - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream.Data
-
- sentMTFValues4_inUse16 - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream.Data
-
- seqToUnseq - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream.Data
-
- serialVersionUID - Static variable in exception org.apache.commons.compress.archivers.ArchiveException
-
Serial
- serialVersionUID - Static variable in exception org.apache.commons.compress.compressors.CompressorException
-
Serial
- 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
-
- 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.
- setGlobalCRC(int) - Method in class org.apache.commons.compress.compressors.bzip2.CRC
-
- 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.
- SETMASK - Static variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
- 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.
- 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.
- setNameAndCommentFromExtraFields(ZipArchiveEntry, byte[], byte[]) - Static method in class org.apache.commons.compress.archivers.zip.ZipUtil
-
If the entry has Unicode*ExtraFields and the CRCs of the
names/comments match those of the extra fields, transfer the
known Unicode values from the extra field.
- 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.
- setupBlock() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- setupNoRandPartA() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- setupNoRandPartB() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- setupNoRandPartC() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- setupRandPartA() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- setupRandPartB() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- setupRandPartC() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- 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.
- sfmap - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream.Data
-
- SHORT - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
-
- SHORT - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
- SHORT - Static variable in class org.apache.commons.compress.archivers.zip.ZipFile
-
- SHORT_MASK - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
- SHORT_SHIFT - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
- Simple8BitZipEncoding - Class in org.apache.commons.compress.archivers.zip
-
This ZipEncoding implementation implements a simple 8bit character
set, which mets the following restrictions:
Characters 0x0000 to 0x007f are encoded as the corresponding
byte values 0x00 to 0x7f.
All byte codes from 0x80 to 0xff are mapped to a unique unicode
character in the range 0x0080 to 0x7fff.
- Simple8BitZipEncoding(char[]) - Constructor for class org.apache.commons.compress.archivers.zip.Simple8BitZipEncoding
-
- Simple8BitZipEncoding.Simple8BitChar - Class in org.apache.commons.compress.archivers.zip
-
A character entity, which is put to the reverse mapping table
of a simple encoding.
- Simple8BitZipEncoding.Simple8BitChar(byte, char) - Constructor for class org.apache.commons.compress.archivers.zip.Simple8BitZipEncoding.Simple8BitChar
-
- simpleEncodings - Static variable in class org.apache.commons.compress.archivers.zip.ZipEncodingHelper
-
- SINGLE - Variable in class org.apache.commons.compress.archivers.ArchiveInputStream
-
- size - Variable in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
The entry's size.
- 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(int) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveInputStream
-
- 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
-
- SKIP_KEY - Static variable in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils.UnparseableExtraField
-
Key for "skip" action.
- skipRecord() - Method in class org.apache.commons.compress.archivers.tar.TarBuffer
-
Skip over a record on the input stream.
- SMALL_BUFFER_SIZE - Static variable in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
-
- SMALL_THRESH - Static variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
- stack_dd - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream.Data
-
- stack_hh - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream.Data
-
- stack_ll - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream.Data
-
- START_BLOCK_STATE - Static variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- startsWithLocalFileHeader() - Method in class org.apache.commons.compress.archivers.zip.ZipFile
-
Checks whether the archive starts with a LFH.
- STORED - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Compression method for stored entries.
- storedBlockCRC - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- storedCombinedCRC - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- STRONG_ENCRYPTION_FLAG - Static variable in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
-
Indicates strong encryption.
- strongEncryptionFlag - Variable in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
-
- su_ch2 - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- su_chPrev - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- su_count - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- su_i2 - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- su_j2 - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- su_rNToGo - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- su_rTPos - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- su_tPos - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- su_z - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
- supportsDataDescriptorFor(ZipArchiveEntry) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
-
Whether this entry requires a data descriptor this library can work with.
- supportsEncryptionOf(ZipArchiveEntry) - Static method in class org.apache.commons.compress.archivers.zip.ZipUtil
-
Whether this library supports the encryption used by the given
entry.
- supportsMethodOf(ZipArchiveEntry) - Static method in class org.apache.commons.compress.archivers.zip.ZipUtil
-
Whether this library supports the compression method used by
the given entry.
- 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() - Constructor for class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Construct an empty entry and prepares the header values.
- 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.
- TarBuffer - Class in org.apache.commons.compress.archivers.tar
-
The TarBuffer class implements the tar archive concept
of a buffered input stream.
- TarBuffer(InputStream) - Constructor for class org.apache.commons.compress.archivers.tar.TarBuffer
-
Constructor for a TarBuffer on an input stream.
- TarBuffer(InputStream, int) - Constructor for class org.apache.commons.compress.archivers.tar.TarBuffer
-
Constructor for a TarBuffer on an input stream.
- TarBuffer(InputStream, int, int) - Constructor for class org.apache.commons.compress.archivers.tar.TarBuffer
-
Constructor for a TarBuffer on an input stream.
- TarBuffer(OutputStream) - Constructor for class org.apache.commons.compress.archivers.tar.TarBuffer
-
Constructor for a TarBuffer on an output stream.
- TarBuffer(OutputStream, int) - Constructor for class org.apache.commons.compress.archivers.tar.TarBuffer
-
Constructor for a TarBuffer on an output stream.
- TarBuffer(OutputStream, int, int) - Constructor for class org.apache.commons.compress.archivers.tar.TarBuffer
-
Constructor for a TarBuffer on an output stream.
- TarConstants - Interface in org.apache.commons.compress.archivers.tar
-
This interface contains all the definitions used in the package.
- targetFile - Variable in class org.apache.commons.compress.changes.Change
-
- targetFile() - Method in class org.apache.commons.compress.changes.Change
-
- TarUtils - Class in org.apache.commons.compress.archivers.tar
-
This class provides static utility methods to work with byte streams.
- TarUtils() - Constructor for class org.apache.commons.compress.archivers.tar.TarUtils
-
Private constructor to prevent instantiation of this utility class.
- temp_charArray2d - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream.Data
-
- 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.
- tmpbuf - Variable in class org.apache.commons.compress.archivers.cpio.CpioArchiveInputStream
-
- 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.Simple8BitZipEncoding.Simple8BitChar
-
- 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(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
- tt - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream.Data
-
- type - Variable in class org.apache.commons.compress.changes.Change
-
- type() - Method in class org.apache.commons.compress.changes.Change
-
- TYPE_ADD - Static variable in class org.apache.commons.compress.changes.Change
-
- TYPE_DELETE - Static variable in class org.apache.commons.compress.changes.Change
-
- TYPE_DELETE_DIR - Static variable in class org.apache.commons.compress.changes.Change
-
- TYPE_MOVE - Static variable in class org.apache.commons.compress.changes.Change
-
- 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.
- uid - Variable in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
- uid - Variable in class org.apache.commons.compress.archivers.zip.AsiExtraField
-
User ID.
- 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.
- uncompressSuffix - Static variable in class org.apache.commons.compress.compressors.bzip2.BZip2Utils
-
Map from common filename suffixes of bzip2ed files to the corresponding
suffixes of uncompressed files.
- uncompressSuffix - Static variable in class org.apache.commons.compress.compressors.gzip.GzipUtils
-
Map from common filename suffixes of gzipped files to the corresponding
suffixes of uncompressed files.
- unicode - Variable in class org.apache.commons.compress.archivers.zip.Simple8BitZipEncoding.Simple8BitChar
-
- UnicodeCommentExtraField - Class in org.apache.commons.compress.archivers.zip
-
Info-ZIP Unicode Comment Extra Field (0x6375):
- 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.
- unicodeName - Variable in class org.apache.commons.compress.archivers.zip.AbstractUnicodeExtraField
-
- UnicodePathExtraField - Class in org.apache.commons.compress.archivers.zip
-
Info-ZIP Unicode Path Extra Field (0x7075):
- 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.
- unparseableExtra - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
- 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
-
- unseqToSeq - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream.Data
-
- 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.
- UnsupportedZipFeatureException.Feature(String) - Constructor for class org.apache.commons.compress.archivers.zip.UnsupportedZipFeatureException.Feature
-
- unzftab - Variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream.Data
-
Freq table collected to save a pass over the data during
decompression.
- UPATH_ID - Static variable in class org.apache.commons.compress.archivers.zip.UnicodePathExtraField
-
- updateCRC(int) - Method in class org.apache.commons.compress.compressors.bzip2.CRC
-
- updateCRC(int, int) - Method in class org.apache.commons.compress.compressors.bzip2.CRC
-
- usage() - Static method in class org.apache.commons.compress.archivers.Lister
-
- 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
- userId - Variable in class org.apache.commons.compress.archivers.ar.ArArchiveEntry
-
- userId - Variable in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
The entry's user id.
- userName - Variable in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
The entry's user name.
- 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.
- useUnicodeExtraFields - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
-
Whether to look for and use Unicode extra fields.
- useUnicodeExtraFields - Variable in class org.apache.commons.compress.archivers.zip.ZipFile
-
Whether to look for and use Unicode extra fields.
- useUTF8Flag - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
whether to use the general purpose bit flag when writing UTF-8
filenames or not.
- useUTF8ForNames(boolean) - Method in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
-
whether the current entry will use UTF8 for file name and comment.
- UTF8 - Static variable in class org.apache.commons.compress.archivers.zip.ZipEncodingHelper
-
name of the encoding UTF-8
- UTF8_ZIP_ENCODING - Static variable in class org.apache.commons.compress.archivers.zip.ZipEncodingHelper
-
name of the encoding UTF-8
- UTF_DASH_8 - Static variable in class org.apache.commons.compress.archivers.zip.ZipEncodingHelper
-
variant name of the encoding UTF-8 used for comparisions.
- ZERO - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Helper, a 0 as ZipShort.
- ZIP - Static variable in class org.apache.commons.compress.archivers.ArchiveStreamFactory
-
Constant used to identify the ZIP archive format.
- 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.
- ZipArchiveOutputStream.UnicodeExtraFieldPolicy(String) - Constructor for class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.UnicodeExtraFieldPolicy
-
- zipEncoding - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
-
The zip encoding to use for filenames and the file comment.
- zipEncoding - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
The zip encoding to use for filenames and the file comment.
- ZipEncoding - Interface in org.apache.commons.compress.archivers.zip
-
An interface for encoders that do a pretty encoding of ZIP
filenames.
- zipEncoding - Variable in class org.apache.commons.compress.archivers.zip.ZipFile
-
The zip encoding to use for filenames and the file comment.
- ZipEncodingHelper - Class in org.apache.commons.compress.archivers.zip
-
Static helper functions for robustly encoding filenames in zip files.
- ZipEncodingHelper() - Constructor for class org.apache.commons.compress.archivers.zip.ZipEncodingHelper
-
- ZipEncodingHelper.SimpleEncodingHolder - Class in org.apache.commons.compress.archivers.zip
-
A class, which holds the high characters of a simple encoding
and lazily instantiates a Simple8BitZipEncoding instance in a
thread-safe manner.
- ZipEncodingHelper.SimpleEncodingHolder(char[]) - Constructor for class org.apache.commons.compress.archivers.zip.ZipEncodingHelper.SimpleEncodingHolder
-
Instantiate a simple encoding holder.
- 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.
- ZipFile.BoundedInputStream - Class in org.apache.commons.compress.archivers.zip
-
InputStream that delegates requests to the underlying
RandomAccessFile, making sure that only bytes from a certain
range can be read.
- ZipFile.BoundedInputStream(long, long) - Constructor for class org.apache.commons.compress.archivers.zip.ZipFile.BoundedInputStream
-
- ZipFile.NameAndComment - Class in org.apache.commons.compress.archivers.zip
-
- ZipFile.NameAndComment(byte[], byte[]) - Constructor for class org.apache.commons.compress.archivers.zip.ZipFile.NameAndComment
-
- ZipFile.OffsetEntry - Class in org.apache.commons.compress.archivers.zip
-
- ZipFile.OffsetEntry() - Constructor for class org.apache.commons.compress.archivers.zip.ZipFile.OffsetEntry
-
- 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
-