A B C D E F G H I J K L M N O P R S T U V W X Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractLZ77CompressorInputStream - Class in org.apache.commons.compress.compressors.lz77support
-
Encapsulates code common to LZ77 decompressors.
- AbstractLZ77CompressorInputStream(InputStream, int) - Constructor for class org.apache.commons.compress.compressors.lz77support.AbstractLZ77CompressorInputStream
-
Creates a new LZ77 input stream.
- 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[]) - Constructor for class org.apache.commons.compress.archivers.zip.AbstractUnicodeExtraField
-
Assemble as unicode extension from the name/comment and encoding of the original zip entry.
- 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 original zip entry.
- accept(int) - Method in interface org.apache.commons.compress.utils.ByteUtils.ByteConsumer
-
The contract is similar to
OutputStream.write(int)
, consume the lower eight bytes of the int as a byte. - accept(int) - Method in class org.apache.commons.compress.utils.ByteUtils.OutputStreamByteConsumer
- accept(Closeable) - Method in interface org.apache.commons.compress.archivers.examples.CloseableConsumer
-
Callback that is informed about a closable resource that has been wrapped around a passed in stream or channel by Expander or Archiver when Expander or Archiver no longer need them.
- accept(LZ77Compressor.Block) - Method in interface org.apache.commons.compress.compressors.lz77support.LZ77Compressor.Callback
-
Consumes a block.
- ACCESS_TIME_BIT - Static variable in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
-
The bit set inside the flags by when the lasr access time is present in this extra field.
- 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.
- addAll(Collection<T>, Iterator<? extends T>) - Static method in class org.apache.commons.compress.utils.Iterators
-
Adds all the elements in the source
iterator
to the targetcollection
. - addArchiveEntry(ZipArchiveEntryRequest) - Method in class org.apache.commons.compress.archivers.zip.ScatterZipOutputStream
-
Add an archive entry to this scatter stream.
- addArchiveEntry(ZipArchiveEntryRequestSupplier) - Method in class org.apache.commons.compress.archivers.zip.ParallelScatterZipCreator
-
Adds an archive entry to this archive.
- addArchiveEntry(ZipArchiveEntry, InputStreamSupplier) - Method in class org.apache.commons.compress.archivers.zip.ParallelScatterZipCreator
-
Adds an archive entry to this archive.
- addAsFirstExtraField(ZipExtraField) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Adds an extra field - replacing an already present extra field of the same type.
- addEntry(int, byte) - Method in class org.apache.commons.compress.compressors.lzw.LZWInputStream
-
Add a new entry to the dictionary.
- addEntry(int, byte) - Method in class org.apache.commons.compress.compressors.z.ZCompressorInputStream
-
Add a new entry to the dictionary.
- addEntry(int, byte, int) - Method in class org.apache.commons.compress.compressors.lzw.LZWInputStream
-
Adds a new entry if the maximum table size hasn't been exceeded and returns the new index.
- 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.
- addPaxHeader(String, String) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
add a PAX header to this entry.
- ADDR - org.apache.commons.compress.archivers.dump.DumpArchiveConstants.SEGMENT_TYPE
- addRawArchiveEntry(ZipArchiveEntry, InputStream) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Adds an archive entry with a raw input stream.
- addRepeatOfPreviousCode() - Method in class org.apache.commons.compress.compressors.lzw.LZWInputStream
-
Add entry for repeat of previousCode we haven't added, yet.
- 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.
- AED_SIG - Static variable in class org.apache.commons.compress.archivers.zip.ZipLong
-
Archive extra data record signature.
- AES_ENCRYPTED - org.apache.commons.compress.archivers.zip.ZipMethod
-
Compression Method 99 for AES encryption.
- AES128 - org.apache.commons.compress.archivers.zip.PKWareExtraHeader.EncryptionAlgorithm
- AES192 - org.apache.commons.compress.archivers.zip.PKWareExtraHeader.EncryptionAlgorithm
- AES256 - org.apache.commons.compress.archivers.zip.PKWareExtraHeader.EncryptionAlgorithm
- AES256SHA256 - org.apache.commons.compress.archivers.sevenz.SevenZMethod
-
AES encryption with a key length of 256 bit using SHA256 for hashes - only supported when reading
- alignWithByteBoundary() - Method in class org.apache.commons.compress.utils.BitInputStream
-
Drops bits until the next bits will be read from a byte boundary.
- allowMethodChange() - Method in class org.apache.commons.compress.archivers.zip.ResourceAlignmentExtraField
-
Indicates whether method change is allowed when re-compressing the zip file.
- Always - org.apache.commons.compress.archivers.zip.Zip64Mode
-
Use Zip64 extensions for all entries, even if it is clear it is not required.
- ALWAYS - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.UnicodeExtraFieldPolicy
-
Always create Unicode extra fields.
- AMIGA - Static variable in class org.apache.commons.compress.archivers.arj.ArjArchiveEntry.HostOs
- APPLE_GS - Static variable in class org.apache.commons.compress.archivers.arj.ArjArchiveEntry.HostOs
- AR - Static variable in class org.apache.commons.compress.archivers.ArchiveStreamFactory
-
Constant (value "ar") 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(File, String) - Constructor for class org.apache.commons.compress.archivers.ar.ArArchiveEntry
-
Create a new instance using the attributes of the given file
- 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.
- ArArchiveInputStream - Class in org.apache.commons.compress.archivers.ar
-
Implements the "ar" archive format as an input stream.
- ArArchiveInputStream(InputStream) - Constructor for class org.apache.commons.compress.archivers.ar.ArArchiveInputStream
-
Constructs an Ar input stream with the referenced stream
- ArArchiveOutputStream - Class in org.apache.commons.compress.archivers.ar
-
Implements the "ar" archive format as an output stream.
- ArArchiveOutputStream(OutputStream) - Constructor for class org.apache.commons.compress.archivers.ar.ArArchiveOutputStream
- ArchiveEntry - Interface in org.apache.commons.compress.archivers
-
Represents an entry of an archive.
- ArchiveException - Exception in org.apache.commons.compress.archivers
-
Archiver related Exception
- ArchiveException(String) - Constructor for exception org.apache.commons.compress.archivers.ArchiveException
-
Constructs a new exception with the specified detail message.
- ArchiveException(String, Exception) - Constructor for exception org.apache.commons.compress.archivers.ArchiveException
-
Constructs a new exception with the specified detail message and cause.
- ArchiveInputStream - Class in org.apache.commons.compress.archivers
-
Archive input streams MUST override the
InputStream.read(byte[], int, int)
- orArchiveInputStream.read()
- method so that reading from the stream generates EOF for the end of data in each entry as well as at the end of the file proper. - ArchiveInputStream() - Constructor for class org.apache.commons.compress.archivers.ArchiveInputStream
- ArchiveOutputStream - Class in org.apache.commons.compress.archivers
-
Archive output stream implementations are expected to override the
OutputStream.write(byte[], int, int)
method to improve performance. - ArchiveOutputStream() - Constructor for class org.apache.commons.compress.archivers.ArchiveOutputStream
- Archiver - Class in org.apache.commons.compress.archivers.examples
-
Provides a high level API for creating archives.
- Archiver() - Constructor for class org.apache.commons.compress.archivers.examples.Archiver
- 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
-
Create an instance using the platform default encoding.
- ArchiveStreamFactory(String) - Constructor for class org.apache.commons.compress.archivers.ArchiveStreamFactory
-
Create an instance using the specified encoding.
- ArchiveStreamProvider - Interface in org.apache.commons.compress.archivers
-
Creates Archive
ArchiveInputStream
s andArchiveOutputStream
s. - ArchiveUtils - Class in org.apache.commons.compress.utils
-
Generic Archive utilities
- ARJ - Static variable in class org.apache.commons.compress.archivers.ArchiveStreamFactory
-
Constant (value "arj") used to identify the ARJ archive format.
- ArjArchiveEntry - Class in org.apache.commons.compress.archivers.arj
-
An entry in an ARJ archive.
- ArjArchiveEntry() - Constructor for class org.apache.commons.compress.archivers.arj.ArjArchiveEntry
- ArjArchiveEntry.HostOs - Class in org.apache.commons.compress.archivers.arj
-
The known values for HostOs.
- ArjArchiveInputStream - Class in org.apache.commons.compress.archivers.arj
-
Implements the "arj" archive format as an InputStream.
- ArjArchiveInputStream(InputStream) - Constructor for class org.apache.commons.compress.archivers.arj.ArjArchiveInputStream
-
Constructs the ArjInputStream, taking ownership of the inputStream that is passed in, and using the CP437 character encoding.
- ArjArchiveInputStream(InputStream, String) - Constructor for class org.apache.commons.compress.archivers.arj.ArjArchiveInputStream
-
Constructs the ArjInputStream, taking ownership of the inputStream that is passed in.
- array() - Method in class org.apache.commons.compress.utils.SeekableInMemoryByteChannel
-
Obtains the array backing this channel.
- 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.
- AsNeeded - org.apache.commons.compress.archivers.zip.Zip64Mode
-
Use Zip64 extensions for all entries where they are required, don't use them for entries that clearly don't require them.
- assertMinimalLength(int, int) - Method in class org.apache.commons.compress.archivers.zip.PKWareExtraHeader
- ATARI_ST - Static variable in class org.apache.commons.compress.archivers.arj.ArjArchiveEntry.HostOs
- ATIMELEN_GNU - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The length of the access time field in an old GNU header buffer.
- ATIMELEN_XSTAR - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The length of the access time field in a xstar header buffer.
- available() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveInputStream
-
Returns 0 after EOF has reached for the current entry data, otherwise always return 1.
- available() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
-
Get the available data that can be read from the current entry in the archive.
- available() - Method in class org.apache.commons.compress.compressors.deflate.DeflateCompressorInputStream
- available() - Method in class org.apache.commons.compress.compressors.deflate64.Deflate64CompressorInputStream
- available() - Method in class org.apache.commons.compress.compressors.lz77support.AbstractLZ77CompressorInputStream
- available() - Method in class org.apache.commons.compress.compressors.lzma.LZMACompressorInputStream
- available() - Method in class org.apache.commons.compress.compressors.pack200.Pack200CompressorInputStream
- available() - Method in class org.apache.commons.compress.compressors.snappy.FramedSnappyCompressorInputStream
- available() - Method in class org.apache.commons.compress.compressors.xz.XZCompressorInputStream
B
- BACK_REFERENCE - org.apache.commons.compress.compressors.lz77support.LZ77Compressor.Block.BlockType
- BackReference(int, int) - Constructor for class org.apache.commons.compress.compressors.lz77support.LZ77Compressor.BackReference
- BASE_SIZE - Static variable in class org.apache.commons.compress.archivers.zip.ResourceAlignmentExtraField
- BCJ_ARM_FILTER - org.apache.commons.compress.archivers.sevenz.SevenZMethod
-
BCJ ARM platform.
- BCJ_ARM_THUMB_FILTER - org.apache.commons.compress.archivers.sevenz.SevenZMethod
-
BCJ ARM Thumb platform.
- BCJ_IA64_FILTER - org.apache.commons.compress.archivers.sevenz.SevenZMethod
-
BCJ I64 platform.
- BCJ_PPC_FILTER - org.apache.commons.compress.archivers.sevenz.SevenZMethod
-
BCJ PowerPC platform.
- BCJ_SPARC_FILTER - org.apache.commons.compress.archivers.sevenz.SevenZMethod
-
BCJ Sparc platform.
- BCJ_X86_FILTER - org.apache.commons.compress.archivers.sevenz.SevenZMethod
-
BCJ x86 platform version 1.
- BEST_EFFORT - org.apache.commons.compress.archivers.zip.ZipArchiveEntry.ExtraFieldParsingMode
-
Try to parse as many extra fields as possible and wrap unknown extra fields as well as supported extra fields that cannot be parsed in
UnrecognizedExtraField
. - BIGNUMBER_ERROR - Static variable in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
-
Fail if a big number (e.g.
- BIGNUMBER_POSIX - Static variable in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
-
POSIX/PAX extensions are used to store big numbers in the archive.
- BIGNUMBER_STAR - Static variable in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
-
star/GNU tar/BSD tar extensions are used to store big number in the archive.
- BitInputStream - Class in org.apache.commons.compress.utils
-
Reads bits from an InputStream.
- BitInputStream(InputStream, ByteOrder) - Constructor for class org.apache.commons.compress.utils.BitInputStream
-
Constructor taking an InputStream and its bit arrangement.
- BITS - org.apache.commons.compress.archivers.dump.DumpArchiveConstants.SEGMENT_TYPE
- bitsAvailable() - Method in class org.apache.commons.compress.utils.BitInputStream
-
Returns an estimate of the number of bits that can be read from this input stream without blocking by the next invocation of a method for this input stream.
- bitsCached() - Method in class org.apache.commons.compress.utils.BitInputStream
-
Returns the number of bits that can be read from this input stream without reading from the underlying input stream at all.
- BLKDEV - org.apache.commons.compress.archivers.dump.DumpArchiveEntry.TYPE
- Block() - Constructor for class org.apache.commons.compress.compressors.lz77support.LZ77Compressor.Block
- BLOCK_SIZE - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
The default block size.
- BlockLZ4CompressorInputStream - Class in org.apache.commons.compress.compressors.lz4
-
CompressorInputStream for the LZ4 block format.
- BlockLZ4CompressorInputStream(InputStream) - Constructor for class org.apache.commons.compress.compressors.lz4.BlockLZ4CompressorInputStream
-
Creates a new LZ4 input stream.
- BlockLZ4CompressorOutputStream - Class in org.apache.commons.compress.compressors.lz4
-
CompressorOutputStream for the LZ4 block format.
- BlockLZ4CompressorOutputStream(OutputStream) - Constructor for class org.apache.commons.compress.compressors.lz4.BlockLZ4CompressorOutputStream
-
Creates a new LZ4 output stream.
- BlockLZ4CompressorOutputStream(OutputStream, Parameters) - Constructor for class org.apache.commons.compress.compressors.lz4.BlockLZ4CompressorOutputStream
-
Creates a new LZ4 output stream.
- BoundedInputStream - Class in org.apache.commons.compress.utils
-
A stream that limits reading from a wrapped stream to a given number of bytes.
- BoundedInputStream(InputStream, long) - Constructor for class org.apache.commons.compress.utils.BoundedInputStream
-
Creates the stream that will at most read the given amount of bytes from the given stream.
- BROTLI - Static variable in class org.apache.commons.compress.compressors.CompressorStreamFactory
-
Constant (value "br") used to identify the BROTLI compression algorithm.
- build() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZFileOptions.Builder
-
Create the
SevenZFileOptions
. - build() - Method in class org.apache.commons.compress.compressors.lz77support.Parameters.Builder
-
Creates the
Parameters
instance. - builder() - Static method in class org.apache.commons.compress.archivers.sevenz.SevenZFileOptions
-
Obtains a builder for SevenZFileOptions.
- builder(int) - Static method in class org.apache.commons.compress.compressors.lz77support.Parameters
-
Initializes the builder for the compressor's parameters with a
minBackReferenceLength
of 3 andmax*Length
equal towindowSize - 1
. - Builder() - Constructor for class org.apache.commons.compress.archivers.sevenz.SevenZFileOptions.Builder
- ByteUtils - Class in org.apache.commons.compress.utils
-
Utility methods for reading and writing bytes.
- ByteUtils.ByteConsumer - Interface in org.apache.commons.compress.utils
-
Used to consume bytes.
- ByteUtils.ByteSupplier - Interface in org.apache.commons.compress.utils
-
Used to supply bytes.
- ByteUtils.InputStreamByteSupplier - Class in org.apache.commons.compress.utils
-
ByteUtils.ByteSupplier
based onInputStream
. - ByteUtils.OutputStreamByteConsumer - Class in org.apache.commons.compress.utils
-
ByteUtils.ByteConsumer
based onOutputStream
. - BZIP2 - org.apache.commons.compress.archivers.sevenz.SevenZMethod
-
BZIP2
- BZIP2 - org.apache.commons.compress.archivers.zip.ZipMethod
-
Compression Method 12 for bzip2.
- BZIP2 - Static variable in class org.apache.commons.compress.compressors.CompressorStreamFactory
-
Constant (value "bzip2") used to identify the BZIP2 compression algorithm.
- BZip2CompressorInputStream - Class in org.apache.commons.compress.compressors.bzip2
-
An input stream that decompresses from the BZip2 format to be read as any other stream.
- BZip2CompressorInputStream(InputStream) - Constructor for class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
Constructs a new BZip2CompressorInputStream which decompresses bytes read from the specified stream.
- BZip2CompressorInputStream(InputStream, boolean) - Constructor for class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
-
Constructs a new BZip2CompressorInputStream which decompresses bytes read from the specified stream.
- BZip2CompressorOutputStream - Class in org.apache.commons.compress.compressors.bzip2
-
An output stream that compresses into the BZip2 format into another stream.
- BZip2CompressorOutputStream(OutputStream) - Constructor for class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
Constructs a new
BZip2CompressorOutputStream
with a blocksize of 900k. - BZip2CompressorOutputStream(OutputStream, int) - Constructor for class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
Constructs a new
BZip2CompressorOutputStream
with specified blocksize. - BZip2Utils - Class in org.apache.commons.compress.compressors.bzip2
-
Utility code for the BZip2 compression format.
- BZLIB - org.apache.commons.compress.archivers.dump.DumpArchiveConstants.COMPRESSION_TYPE
C
- C_IRGRP - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
Permits a file's group to read the file
- C_IROTH - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
Permits others to read the file
- C_IRUSR - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
Permits the owner of a file to read the file
- C_ISBLK - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
Defines a block device
- C_ISCHR - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
Defines a character device
- C_ISDIR - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
Defines a directory
- C_ISFIFO - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
Defines a pipe
- C_ISGID - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
Set group ID
- C_ISLNK - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
Defines a symbolic link
- C_ISNWK - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
HP/UX network special (C_ISCTG)
- C_ISREG - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
Defines a regular file
- C_ISSOCK - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
Defines a socket
- C_ISUID - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
Set user ID
- C_ISVTX - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
On directories, restricted deletion flag.
- C_IWGRP - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
Permits a file's group to write to the file
- C_IWOTH - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
Permits others to write to the file
- C_IWUSR - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
Permits the owner of a file to write to the file
- C_IXGRP - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
Permits a file's group to execute the file or to search the directory
- C_IXOTH - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
Permits others to execute the file or to search the directory
- C_IXUSR - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
Permits the owner of a file to execute the file or to search the directory
- canEncode(String) - Method in interface org.apache.commons.compress.archivers.zip.ZipEncoding
-
Check, whether the given string may be losslessly encoded using this encoding.
- 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.arj.ArjArchiveInputStream
- canReadEntryData(ArchiveEntry) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
-
Whether this class is able to read the given entry.
- canReadEntryData(ArchiveEntry) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
-
Whether this class is able to read the given entry.
- canReadEntryData(ZipArchiveEntry) - Method in class org.apache.commons.compress.archivers.zip.ZipFile
-
Whether this class is able to read the given entry.
- canWriteEntryData(ArchiveEntry) - Method in class org.apache.commons.compress.archivers.ArchiveOutputStream
-
Whether this stream is able to write the given entry.
- canWriteEntryData(ArchiveEntry) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Whether this stream is able to write the given entry.
- CFH_SIG - Static variable in class org.apache.commons.compress.archivers.zip.ZipLong
-
Central File Header Signature
- ChangeSet - Class in org.apache.commons.compress.changes
-
ChangeSet collects and performs changes to an archive.
- ChangeSet() - Constructor for class org.apache.commons.compress.changes.ChangeSet
- ChangeSetPerformer - Class in org.apache.commons.compress.changes
-
Performs ChangeSet operations on a stream.
- ChangeSetPerformer(ChangeSet) - Constructor for class org.apache.commons.compress.changes.ChangeSetPerformer
-
Constructs a ChangeSetPerformer with the changes from this ChangeSet
- ChangeSetResults - Class in org.apache.commons.compress.changes
-
Stores the results of an performed ChangeSet operation.
- ChangeSetResults() - Constructor for class org.apache.commons.compress.changes.ChangeSetResults
- CharsetAccessor - Interface in org.apache.commons.compress.archivers.zip
-
An interface added to allow access to the character set associated with an
NioZipEncoding
, without requiring a new method to be added toZipEncoding
. - CharsetNames - Class in org.apache.commons.compress.utils
-
Character encoding names required of every implementation of the Java platform.
- CharsetNames() - Constructor for class org.apache.commons.compress.utils.CharsetNames
- Charsets - Class in org.apache.commons.compress.utils
-
Charsets required of every implementation of the Java platform.
- Charsets() - Constructor for class org.apache.commons.compress.utils.Charsets
- CHECKSUM - Static variable in class org.apache.commons.compress.archivers.dump.DumpArchiveConstants
- ChecksumCalculatingInputStream - Class in org.apache.commons.compress.utils
-
A stream that calculates the checksum of the data read.
- ChecksumCalculatingInputStream(Checksum, InputStream) - Constructor for class org.apache.commons.compress.utils.ChecksumCalculatingInputStream
- ChecksumVerifyingInputStream - Class in org.apache.commons.compress.utils
-
A stream that verifies the checksum of the data read once the stream is exhausted.
- ChecksumVerifyingInputStream(Checksum, InputStream, long, long) - Constructor for class org.apache.commons.compress.utils.ChecksumVerifyingInputStream
- CHKSUM_OFFSET - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
Offset of the checksum field within header record.
- 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.
- CHRDEV - org.apache.commons.compress.archivers.dump.DumpArchiveEntry.TYPE
- clearBitCache() - Method in class org.apache.commons.compress.utils.BitInputStream
-
Clears the cache of bits that have been read from the underlying stream but not yet provided via
BitInputStream.readBits(int)
. - clearExtraPaxHeaders() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
clear all extra PAX headers.
- CLI - Class in org.apache.commons.compress.archivers.sevenz
- CLI() - Constructor for class org.apache.commons.compress.archivers.sevenz.CLI
- clone() - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
- clone() - Method in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
- clone() - Method in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
- clone() - Method in class org.apache.commons.compress.archivers.zip.X7875_NewUnix
- 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.arj.ArjArchiveInputStream
- 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.dump.DumpArchiveInputStream
-
Closes the stream for this entry.
- close() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZFile
-
Closes the archive.
- close() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZOutputFile
-
Closes the archive, calling
SevenZOutputFile.finish()
if necessary. - close() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
-
Closes this stream.
- close() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
-
Closes the underlying OutputStream.
- close() - Method in class org.apache.commons.compress.archivers.zip.ScatterZipOutputStream
-
Closes this stream, freeing all resources involved in the creation of this stream.
- close() - Method in class org.apache.commons.compress.archivers.zip.ScatterZipOutputStream.ZipEntryWriter
- close() - Method in class org.apache.commons.compress.archivers.zip.StreamCompressor
- 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.deflate.DeflateCompressorInputStream
- close() - Method in class org.apache.commons.compress.compressors.deflate.DeflateCompressorOutputStream
- close() - Method in class org.apache.commons.compress.compressors.deflate64.Deflate64CompressorInputStream
- close() - Method in class org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream
-
Closes the input stream (unless it is System.in).
- close() - Method in class org.apache.commons.compress.compressors.gzip.GzipCompressorOutputStream
- close() - Method in class org.apache.commons.compress.compressors.lz4.BlockLZ4CompressorOutputStream
- close() - Method in class org.apache.commons.compress.compressors.lz4.FramedLZ4CompressorInputStream
- close() - Method in class org.apache.commons.compress.compressors.lz4.FramedLZ4CompressorOutputStream
- close() - Method in class org.apache.commons.compress.compressors.lz77support.AbstractLZ77CompressorInputStream
- close() - Method in class org.apache.commons.compress.compressors.lzma.LZMACompressorInputStream
- close() - Method in class org.apache.commons.compress.compressors.lzma.LZMACompressorOutputStream
- close() - Method in class org.apache.commons.compress.compressors.lzw.LZWInputStream
- close() - Method in class org.apache.commons.compress.compressors.pack200.Pack200CompressorInputStream
- close() - Method in class org.apache.commons.compress.compressors.pack200.Pack200CompressorOutputStream
- close() - Method in class org.apache.commons.compress.compressors.snappy.FramedSnappyCompressorInputStream
- close() - Method in class org.apache.commons.compress.compressors.snappy.FramedSnappyCompressorOutputStream
- close() - Method in class org.apache.commons.compress.compressors.snappy.SnappyCompressorOutputStream
- close() - Method in class org.apache.commons.compress.compressors.xz.XZCompressorInputStream
- close() - Method in class org.apache.commons.compress.compressors.xz.XZCompressorOutputStream
- close() - Method in class org.apache.commons.compress.parallel.FileBasedScatterGatherBackingStore
- close() - Method in class org.apache.commons.compress.utils.BitInputStream
- close() - Method in class org.apache.commons.compress.utils.BoundedInputStream
- close() - Method in class org.apache.commons.compress.utils.ChecksumVerifyingInputStream
- close() - Method in class org.apache.commons.compress.utils.CloseShieldFilterInputStream
- close() - Method in class org.apache.commons.compress.utils.FixedLengthBlockOutputStream
- close() - Method in class org.apache.commons.compress.utils.MultiReadOnlySeekableByteChannel
- close() - Method in class org.apache.commons.compress.utils.SeekableInMemoryByteChannel
- CloseableConsumer - Interface in org.apache.commons.compress.archivers.examples
-
Callback that is informed about a closable resource that has been wrapped around a passed in stream or channel by Expander or Archiver when Expander or Archiver no longer need them.
- closeArchiveEntry() - Method in class org.apache.commons.compress.archivers.ar.ArArchiveOutputStream
- 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.sevenz.SevenZOutputFile
-
Closes the archive entry.
- 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.
- closeForWriting() - Method in class org.apache.commons.compress.parallel.FileBasedScatterGatherBackingStore
- closeForWriting() - Method in interface org.apache.commons.compress.parallel.ScatterGatherBackingStore
-
Closes this backing store for further writing.
- closeQuietly(Closeable) - Static method in class org.apache.commons.compress.utils.IOUtils
-
Closes the given Closeable and swallows any IOException that may occur.
- 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
- CloseShieldFilterInputStream - Class in org.apache.commons.compress.utils
-
Re-implements
FilterInputStream.close()
to do nothing. - CloseShieldFilterInputStream(InputStream) - Constructor for class org.apache.commons.compress.utils.CloseShieldFilterInputStream
- CLOSING_CONSUMER - Static variable in interface org.apache.commons.compress.archivers.examples.CloseableConsumer
-
Closes the passed in Closeable immediately.
- CLRI - org.apache.commons.compress.archivers.dump.DumpArchiveConstants.SEGMENT_TYPE
- COMMENT - org.apache.commons.compress.archivers.zip.ZipArchiveEntry.CommentSource
-
The comment has been read from the archive using the encoding of the archive specified when creating the
ZipArchiveInputStream
orZipFile
(defaults to the platform's default encoding). - compress(byte[]) - Method in class org.apache.commons.compress.compressors.lz77support.LZ77Compressor
-
Feeds bytes into the compressor which in turn may emit zero or more blocks to the callback during the execution of this method.
- compress(byte[], int, int) - Method in class org.apache.commons.compress.compressors.lz77support.LZ77Compressor
-
Feeds bytes into the compressor which in turn may emit zero or more blocks to the callback during the execution of this method.
- 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
-
Create an instance with the decompress Concatenated option set to false.
- CompressorStreamFactory(boolean) - Constructor for class org.apache.commons.compress.compressors.CompressorStreamFactory
-
Create an instance with the provided decompress Concatenated option.
- CompressorStreamFactory(boolean, int) - Constructor for class org.apache.commons.compress.compressors.CompressorStreamFactory
-
Create an instance with the provided decompress Concatenated option.
- CompressorStreamProvider - Interface in org.apache.commons.compress.compressors
-
Creates Compressor
CompressorInputStream
s andCompressorOutputStream
s. - computeCheckSum(byte[]) - Static method in class org.apache.commons.compress.archivers.tar.TarUtils
-
Compute the checksum of a tar entry header.
- copy(InputStream, OutputStream) - Static method in class org.apache.commons.compress.utils.IOUtils
-
Copies the content of a InputStream into an OutputStream.
- copy(InputStream, OutputStream, int) - Static method in class org.apache.commons.compress.utils.IOUtils
-
Copies the content of a InputStream into an OutputStream
- COPY - org.apache.commons.compress.archivers.sevenz.SevenZMethod
-
no compression at all
- copyRawEntries(ZipArchiveOutputStream, ZipArchiveEntryPredicate) - Method in class org.apache.commons.compress.archivers.zip.ZipFile
-
Transfer selected entries from this zipfile to a given #ZipArchiveOutputStream.
- count(int) - 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(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.archivers.ArchiveInputStream
-
Increments the counter of already read bytes.
- count(long) - 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.compressors.CompressorInputStream
-
Increments the counter of already read bytes.
- count(long) - Method in class org.apache.commons.compress.utils.CountingInputStream
-
Increments the counter of already read bytes.
- count(long) - Method in class org.apache.commons.compress.utils.CountingOutputStream
-
Increments the counter of already written bytes.
- CountingInputStream - Class in org.apache.commons.compress.utils
-
Stream that tracks the number of bytes read.
- CountingInputStream(InputStream) - Constructor for class org.apache.commons.compress.utils.CountingInputStream
- CountingOutputStream - Class in org.apache.commons.compress.utils
-
Stream that tracks the number of bytes read.
- CountingOutputStream(OutputStream) - Constructor for class org.apache.commons.compress.utils.CountingOutputStream
- CPIO - Static variable in class org.apache.commons.compress.archivers.ArchiveStreamFactory
-
Constant (value "cpio") 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(short, 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, String) - 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(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.
- 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 with a blocksize of
BLOCK_SIZE
and expecting ASCII file names. - CpioArchiveInputStream(InputStream, int) - Constructor for class org.apache.commons.compress.archivers.cpio.CpioArchiveInputStream
-
Construct the cpio input stream with a blocksize of
BLOCK_SIZE
expecting ASCII file names. - CpioArchiveInputStream(InputStream, int, String) - Constructor for class org.apache.commons.compress.archivers.cpio.CpioArchiveInputStream
-
Construct the cpio input stream with a blocksize of
BLOCK_SIZE
. - CpioArchiveInputStream(InputStream, String) - Constructor for class org.apache.commons.compress.archivers.cpio.CpioArchiveInputStream
-
Construct the cpio input stream with a blocksize of
BLOCK_SIZE
. - CpioArchiveOutputStream - Class in org.apache.commons.compress.archivers.cpio
-
CpioArchiveOutputStream is a stream for writing CPIO streams.
- CpioArchiveOutputStream(OutputStream) - Constructor for class org.apache.commons.compress.archivers.cpio.CpioArchiveOutputStream
-
Construct the cpio output stream.
- CpioArchiveOutputStream(OutputStream, short) - Constructor for class org.apache.commons.compress.archivers.cpio.CpioArchiveOutputStream
-
Construct the cpio output stream with a specified format, a blocksize of
BLOCK_SIZE
and using ASCII as the file name encoding. - CpioArchiveOutputStream(OutputStream, short, int) - Constructor for class org.apache.commons.compress.archivers.cpio.CpioArchiveOutputStream
-
Construct the cpio output stream with a specified format using ASCII as the file name encoding.
- CpioArchiveOutputStream(OutputStream, short, int, String) - Constructor for class org.apache.commons.compress.archivers.cpio.CpioArchiveOutputStream
-
Construct the cpio output stream with a specified format using ASCII as the file name encoding.
- CpioArchiveOutputStream(OutputStream, String) - 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.
- CRC_UNKNOWN - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
- CRC32 - org.apache.commons.compress.archivers.zip.PKWareExtraHeader.HashAlgorithm
- CRC32VerifyingInputStream - Class in org.apache.commons.compress.utils
-
A stream that verifies the CRC of the data read once the stream is exhausted.
- CRC32VerifyingInputStream(InputStream, long, int) - Constructor for class org.apache.commons.compress.utils.CRC32VerifyingInputStream
- CRC32VerifyingInputStream(InputStream, long, long) - Constructor for class org.apache.commons.compress.utils.CRC32VerifyingInputStream
- create(int, ScatterGatherBackingStore) - Static method in class org.apache.commons.compress.archivers.zip.StreamCompressor
-
Create a stream compressor with the given compression level.
- create(String, File, File) - Method in class org.apache.commons.compress.archivers.examples.Archiver
-
Creates an archive
target
using the formatformat
by recursively including all files and directories indirectory
. - create(String, OutputStream, File) - Method in class org.apache.commons.compress.archivers.examples.Archiver
-
Deprecated.this method leaks resources
- create(String, OutputStream, File, CloseableConsumer) - Method in class org.apache.commons.compress.archivers.examples.Archiver
-
Creates an archive
target
using the formatformat
by recursively including all files and directories indirectory
. - create(String, SeekableByteChannel, File) - Method in class org.apache.commons.compress.archivers.examples.Archiver
-
Deprecated.this method leaks resources
- create(String, SeekableByteChannel, File, CloseableConsumer) - Method in class org.apache.commons.compress.archivers.examples.Archiver
-
Creates an archive
target
using the formatformat
by recursively including all files and directories indirectory
. - create(ArchiveOutputStream, File) - Method in class org.apache.commons.compress.archivers.examples.Archiver
-
Creates an archive
target
by recursively including all files and directories indirectory
. - create(SevenZOutputFile, File) - Method in class org.apache.commons.compress.archivers.examples.Archiver
-
Creates an archive
target
by recursively including all files and directories indirectory
. - create(ScatterGatherBackingStore) - Static method in class org.apache.commons.compress.archivers.zip.StreamCompressor
-
Create a stream compressor with the default compression level.
- CREATE_TIME_BIT - Static variable in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
-
The bit set inside the flags by when the original creation time is present in this extra field.
- createArchiveEntry(File, String) - Method in class org.apache.commons.compress.archivers.ar.ArArchiveOutputStream
- 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.sevenz.SevenZOutputFile
-
Create an archive entry using the inputFile and entryName provided.
- createArchiveEntry(File, String) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
- 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(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.
- createArchiveInputStream(String, InputStream) - Method in class org.apache.commons.compress.archivers.ArchiveStreamFactory
-
Creates an archive input stream from an archiver name and an input stream.
- createArchiveInputStream(String, InputStream, String) - Method in class org.apache.commons.compress.archivers.ArchiveStreamFactory
- createArchiveInputStream(String, InputStream, String) - Method in interface org.apache.commons.compress.archivers.ArchiveStreamProvider
-
Creates an archive input stream from an archiver name and an input stream.
- createArchiveOutputStream(String, OutputStream) - Method in class org.apache.commons.compress.archivers.ArchiveStreamFactory
-
Creates an archive output stream from an archiver name and an output stream.
- createArchiveOutputStream(String, OutputStream, String) - Method in class org.apache.commons.compress.archivers.ArchiveStreamFactory
- createArchiveOutputStream(String, OutputStream, String) - Method in interface org.apache.commons.compress.archivers.ArchiveStreamProvider
-
Creates an archive output stream from an archiver name and an output stream.
- createCallable(ZipArchiveEntryRequestSupplier) - Method in class org.apache.commons.compress.archivers.zip.ParallelScatterZipCreator
-
Create a callable that will compress archive entry supplied by
ZipArchiveEntryRequestSupplier
. - createCallable(ZipArchiveEntry, InputStreamSupplier) - Method in class org.apache.commons.compress.archivers.zip.ParallelScatterZipCreator
-
Create a callable that will compress the given archive entry.
- 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
-
Creates a compressor input stream from a compressor name and an input stream.
- createCompressorInputStream(String, InputStream, boolean) - Method in class org.apache.commons.compress.compressors.CompressorStreamFactory
- createCompressorInputStream(String, InputStream, boolean) - Method in interface org.apache.commons.compress.compressors.CompressorStreamProvider
-
Creates a compressor input stream from a compressor name and an input stream.
- createCompressorOutputStream(String, OutputStream) - Method in class org.apache.commons.compress.compressors.CompressorStreamFactory
-
Creates an compressor output stream from an compressor name and an output stream.
- createCompressorOutputStream(String, OutputStream) - Method in interface org.apache.commons.compress.compressors.CompressorStreamProvider
-
Creates a compressor output stream from an compressor name and an output stream.
- createExtraField(ZipShort) - Method in interface org.apache.commons.compress.archivers.zip.ExtraFieldParsingBehavior
-
Creates an instance of ZipExtraField for the given id.
- createExtraField(ZipShort) - Static method in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils
-
Create an instance of the appropriate ExtraField, falls back to
UnrecognizedExtraField
. - createExtraField(ZipShort) - Method in enum org.apache.commons.compress.archivers.zip.ZipArchiveEntry.ExtraFieldParsingMode
- createExtraFieldNoDefault(ZipShort) - Static method in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils
-
Create an instance of the appropriate ExtraField.
- createParameterBuilder() - Static method in class org.apache.commons.compress.compressors.lz4.BlockLZ4CompressorOutputStream
-
Returns a builder correctly configured for the LZ4 algorithm.
- createParameterBuilder(int) - Static method in class org.apache.commons.compress.compressors.snappy.SnappyCompressorOutputStream
-
Returns a builder correctly configured for the Snappy algorithm using the gven block size.
- createZipArchiveEntryRequest(ZipArchiveEntry, InputStreamSupplier) - Static method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntryRequest
-
Create a ZipArchiveEntryRequest
- CTIMELEN_GNU - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The length of the created time field in an old GNU header buffer.
- CTIMELEN_XSTAR - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The length of the created time field in a xstar header buffer.
D
- DATA_DESCRIPTOR - Static variable in class org.apache.commons.compress.archivers.zip.UnsupportedZipFeatureException.Feature
-
The entry uses a data descriptor.
- DD_SIG - Static variable in class org.apache.commons.compress.archivers.zip.ZipLong
-
Data Descriptor signature.
- decode(byte[]) - Method in interface org.apache.commons.compress.archivers.zip.ZipEncoding
- decompressNextSymbol() - Method in class org.apache.commons.compress.compressors.lzw.LZWInputStream
-
Read the next code and expand it.
- decompressNextSymbol() - Method in class org.apache.commons.compress.compressors.z.ZCompressorInputStream
-
Read the next code and expand it.
- 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.sevenz.SevenZFileOptions
-
The default options.
- DEFAULT - Static variable in class org.apache.commons.compress.compressors.lz4.FramedLZ4CompressorOutputStream.Parameters
-
The default parameters of 4M block size, enabled content checksum, disabled block checksums and independent blocks.
- DEFAULT_BLKSIZE - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
Default block size
- DEFAULT_BLOCK_SIZE - Static variable in class org.apache.commons.compress.compressors.snappy.SnappyCompressorInputStream
-
Default block size
- DEFAULT_CODE_SIZE - Static variable in class org.apache.commons.compress.compressors.lzw.LZWInputStream
- DEFAULT_COMPRESSION - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Default compression level for deflated entries.
- DEFAULT_DIR_MODE - Static variable in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Default permissions bits for directories
- DEFAULT_DIR_PERM - Static variable in interface org.apache.commons.compress.archivers.zip.UnixStat
-
Default permissions for directories.
- DEFAULT_FILE_MODE - Static variable in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Default permissions bits for files
- DEFAULT_FILE_PERM - Static variable in interface org.apache.commons.compress.archivers.zip.UnixStat
-
Default permissions for plain files.
- DEFAULT_LINK_PERM - Static variable in interface org.apache.commons.compress.archivers.zip.UnixStat
-
Default permissions for symbolic links.
- DEFAULT_RCDSIZE - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
Default record size
- deflate() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Writes next block of compressed data to the output stream.
- deflate(InputStream, int) - Method in class org.apache.commons.compress.archivers.zip.StreamCompressor
-
Deflate the given source using the supplied compression method
- DEFLATE - org.apache.commons.compress.archivers.sevenz.SevenZMethod
-
Deflate
- DEFLATE - Static variable in class org.apache.commons.compress.compressors.CompressorStreamFactory
-
Constant (value "deflate") used to identify the Deflate compress method.
- DEFLATE64 - org.apache.commons.compress.archivers.sevenz.SevenZMethod
-
Deflate64
- DEFLATE64 - Static variable in class org.apache.commons.compress.compressors.CompressorStreamFactory
-
Constant (value "deflate64") used to identify the Deflate64 compress method.
- Deflate64CompressorInputStream - Class in org.apache.commons.compress.compressors.deflate64
-
Deflate64 decompressor.
- Deflate64CompressorInputStream(InputStream) - Constructor for class org.apache.commons.compress.compressors.deflate64.Deflate64CompressorInputStream
-
Constructs a Deflate64CompressorInputStream.
- DeflateCompressorInputStream - Class in org.apache.commons.compress.compressors.deflate
-
Deflate decompressor.
- DeflateCompressorInputStream(InputStream) - Constructor for class org.apache.commons.compress.compressors.deflate.DeflateCompressorInputStream
-
Creates a new input stream that decompresses Deflate-compressed data from the specified input stream.
- DeflateCompressorInputStream(InputStream, DeflateParameters) - Constructor for class org.apache.commons.compress.compressors.deflate.DeflateCompressorInputStream
-
Creates a new input stream that decompresses Deflate-compressed data from the specified input stream.
- DeflateCompressorOutputStream - Class in org.apache.commons.compress.compressors.deflate
-
Deflate compressor.
- DeflateCompressorOutputStream(OutputStream) - Constructor for class org.apache.commons.compress.compressors.deflate.DeflateCompressorOutputStream
-
Creates a Deflate compressed output stream with the default parameters.
- DeflateCompressorOutputStream(OutputStream, DeflateParameters) - Constructor for class org.apache.commons.compress.compressors.deflate.DeflateCompressorOutputStream
-
Creates a Deflate compressed output stream with the specified parameters.
- DEFLATED - org.apache.commons.compress.archivers.zip.ZipMethod
-
Compression method 8 for compressed (deflated) entries.
- DEFLATED - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Compression method for deflated entries.
- DeflateParameters - Class in org.apache.commons.compress.compressors.deflate
-
Parameters for the Deflate compressor.
- DeflateParameters() - Constructor for class org.apache.commons.compress.compressors.deflate.DeflateParameters
- delete(String) - Method in class org.apache.commons.compress.changes.ChangeSet
-
Deletes the file with the file name from the archive.
- deleteDir(String) - Method in class org.apache.commons.compress.changes.ChangeSet
-
Deletes the directory tree from the archive.
- DELTA_FILTER - org.apache.commons.compress.archivers.sevenz.SevenZMethod
-
Delta filter.
- DES - org.apache.commons.compress.archivers.zip.PKWareExtraHeader.EncryptionAlgorithm
- detect(InputStream) - Static method in class org.apache.commons.compress.archivers.ArchiveStreamFactory
-
Try to determine the type of Archiver
- detect(InputStream) - Static method in class org.apache.commons.compress.compressors.CompressorStreamFactory
-
Try to detect the type of compressor stream.
- DEVLEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The length of each of the device fields (major and minor) in a header buffer.
- DIR_FLAG - Static variable in interface org.apache.commons.compress.archivers.zip.UnixStat
-
Indicates directories.
- DIRECTORY - org.apache.commons.compress.archivers.dump.DumpArchiveEntry.TYPE
- DOS - Static variable in class org.apache.commons.compress.archivers.arj.ArjArchiveEntry.HostOs
- dosToJavaTime(long) - Static method in class org.apache.commons.compress.archivers.zip.ZipUtil
-
Converts DOS time to Java time (number of milliseconds since epoch).
- DRACONIC - org.apache.commons.compress.archivers.zip.ZipArchiveEntry.ExtraFieldParsingMode
-
Throw an exception if any of the recognized extra fields cannot be parsed or any extra field violates the recommended pattern.
- DUMP - Static variable in class org.apache.commons.compress.archivers.ArchiveStreamFactory
-
Constant (value "dump") used to identify the Unix DUMP archive format.
- DumpArchiveConstants - Class in org.apache.commons.compress.archivers.dump
-
Various constants associated with dump archives.
- DumpArchiveConstants.COMPRESSION_TYPE - Enum in org.apache.commons.compress.archivers.dump
-
The type of compression.
- DumpArchiveConstants.SEGMENT_TYPE - Enum in org.apache.commons.compress.archivers.dump
-
The type of tape segment.
- DumpArchiveEntry - Class in org.apache.commons.compress.archivers.dump
-
This class represents an entry in a Dump archive.
- DumpArchiveEntry() - Constructor for class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Default constructor.
- DumpArchiveEntry(String, String) - Constructor for class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Constructor taking only file name.
- DumpArchiveEntry(String, String, int, DumpArchiveEntry.TYPE) - Constructor for class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Constructor taking name, inode and type.
- DumpArchiveEntry.PERMISSION - Enum in org.apache.commons.compress.archivers.dump
- DumpArchiveEntry.TYPE - Enum in org.apache.commons.compress.archivers.dump
- DumpArchiveException - Exception in org.apache.commons.compress.archivers.dump
-
Dump Archive Exception
- DumpArchiveException() - Constructor for exception org.apache.commons.compress.archivers.dump.DumpArchiveException
- DumpArchiveException(String) - Constructor for exception org.apache.commons.compress.archivers.dump.DumpArchiveException
- DumpArchiveException(String, Throwable) - Constructor for exception org.apache.commons.compress.archivers.dump.DumpArchiveException
- DumpArchiveException(Throwable) - Constructor for exception org.apache.commons.compress.archivers.dump.DumpArchiveException
- DumpArchiveInputStream - Class in org.apache.commons.compress.archivers.dump
-
The DumpArchiveInputStream reads a UNIX dump archive as an InputStream.
- DumpArchiveInputStream(InputStream) - Constructor for class org.apache.commons.compress.archivers.dump.DumpArchiveInputStream
-
Constructor using the platform's default encoding for file names.
- DumpArchiveInputStream(InputStream, String) - Constructor for class org.apache.commons.compress.archivers.dump.DumpArchiveInputStream
-
Constructor.
- DumpArchiveSummary - Class in org.apache.commons.compress.archivers.dump
-
This class represents identifying information about a Dump archive volume.
E
- EFS_FLAG - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Deprecated.use
GeneralPurposeBit.UFT8_NAMES_FLAG
instead - encode() - Method in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
-
Encodes the set bits in a form suitable for ZIP archives.
- encode(byte[], int) - Method in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
-
Encodes the set bits in a form suitable for ZIP archives.
- encode(String) - Method in interface org.apache.commons.compress.archivers.zip.ZipEncoding
-
Encode a file name or a comment to a byte array suitable for storing it to a serialized zip entry.
- ENCRYPTION - Static variable in class org.apache.commons.compress.archivers.zip.UnsupportedZipFeatureException.Feature
-
The entry is encrypted.
- END - org.apache.commons.compress.archivers.dump.DumpArchiveConstants.SEGMENT_TYPE
- ENHANCED_DEFLATED - org.apache.commons.compress.archivers.zip.ZipMethod
-
Compression Method 9 for enhanced deflate.
- EntryStreamOffsets - Interface in org.apache.commons.compress.archivers
-
Provides information about ArchiveEntry stream offsets.
- EOD - org.apache.commons.compress.compressors.lz77support.LZ77Compressor.Block.BlockType
- EOD() - Constructor for class org.apache.commons.compress.compressors.lz77support.LZ77Compressor.EOD
- equals(Object) - Method in class org.apache.commons.compress.archivers.ar.ArArchiveEntry
- equals(Object) - Method in class org.apache.commons.compress.archivers.arj.ArjArchiveEntry
- equals(Object) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
- equals(Object) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
- equals(Object) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
- equals(Object) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
- equals(Object) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZMethodConfiguration
- equals(Object) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Determine if the two entries are equal.
- equals(Object) - Method in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
- equals(Object) - Method in class org.apache.commons.compress.archivers.zip.X000A_NTFS
- equals(Object) - Method in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
- equals(Object) - Method in class org.apache.commons.compress.archivers.zip.X7875_NewUnix
- equals(Object) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
- equals(Object) - Method in class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
-
Override to make two instances with same value equal.
- equals(Object) - Method in class org.apache.commons.compress.archivers.zip.ZipLong
-
Override to make two instances with same value equal.
- equals(Object) - Method in class org.apache.commons.compress.archivers.zip.ZipShort
-
Override to make two instances with same value equal.
- equals(TarArchiveEntry) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Determine if the two entries are equal.
- expand(File, File) - Method in class org.apache.commons.compress.archivers.examples.Expander
-
Expands
archive
intotargetDirectory
. - expand(InputStream, File) - Method in class org.apache.commons.compress.archivers.examples.Expander
-
Deprecated.this method leaks resources
- expand(InputStream, File, CloseableConsumer) - Method in class org.apache.commons.compress.archivers.examples.Expander
-
Expands
archive
intotargetDirectory
. - expand(String, File, File) - Method in class org.apache.commons.compress.archivers.examples.Expander
-
Expands
archive
intotargetDirectory
. - expand(String, InputStream, File) - Method in class org.apache.commons.compress.archivers.examples.Expander
-
Deprecated.this method leaks resources
- expand(String, InputStream, File, CloseableConsumer) - Method in class org.apache.commons.compress.archivers.examples.Expander
-
Expands
archive
intotargetDirectory
. - expand(String, SeekableByteChannel, File) - Method in class org.apache.commons.compress.archivers.examples.Expander
-
Deprecated.this method leaks resources
- expand(String, SeekableByteChannel, File, CloseableConsumer) - Method in class org.apache.commons.compress.archivers.examples.Expander
-
Expands
archive
intotargetDirectory
. - expand(ArchiveInputStream, File) - Method in class org.apache.commons.compress.archivers.examples.Expander
-
Expands
archive
intotargetDirectory
. - expand(SevenZFile, File) - Method in class org.apache.commons.compress.archivers.examples.Expander
-
Expands
archive
intotargetDirectory
. - expand(ZipFile, File) - Method in class org.apache.commons.compress.archivers.examples.Expander
-
Expands
archive
intotargetDirectory
. - expandCodeToOutputStack(int, boolean) - Method in class org.apache.commons.compress.compressors.lzw.LZWInputStream
-
Expands the entry with index code to the output stack and may create a new entry
- Expander - Class in org.apache.commons.compress.archivers.examples
-
Provides a high level API for expanding archives.
- Expander() - Constructor for class org.apache.commons.compress.archivers.examples.Expander
- EXPANDING_LEVEL_1 - org.apache.commons.compress.archivers.zip.ZipMethod
-
Reduced with compression factor 1.
- EXPANDING_LEVEL_2 - org.apache.commons.compress.archivers.zip.ZipMethod
-
Reduced with compression factor 2.
- EXPANDING_LEVEL_3 - org.apache.commons.compress.archivers.zip.ZipMethod
-
Reduced with compression factor 3.
- EXPANDING_LEVEL_4 - org.apache.commons.compress.archivers.zip.ZipMethod
-
Reduced with compression factor 4.
- EXTRAFIELD_HEADER_SIZE - Static variable in interface org.apache.commons.compress.archivers.zip.ZipExtraField
-
Size of an extra field field header (id + length).
- ExtraFieldParsingBehavior - Interface in org.apache.commons.compress.archivers.zip
-
Controls details of parsing zip extra fields.
- ExtraFieldUtils - Class in org.apache.commons.compress.archivers.zip
-
ZipExtraField related methods
- ExtraFieldUtils() - Constructor for class org.apache.commons.compress.archivers.zip.ExtraFieldUtils
- ExtraFieldUtils.UnparseableExtraField - Class in org.apache.commons.compress.archivers.zip
-
"enum" for the possible actions to take if the extra field cannot be parsed.
F
- FIFO - org.apache.commons.compress.archivers.dump.DumpArchiveEntry.TYPE
- FILE - org.apache.commons.compress.archivers.dump.DumpArchiveEntry.TYPE
- FILE_FLAG - Static variable in interface org.apache.commons.compress.archivers.zip.UnixStat
-
Indicates plain files.
- FILE_TYPE_FLAG - Static variable in interface org.apache.commons.compress.archivers.zip.UnixStat
-
Bits used to indicate the file system object type.
- fileBased(File) - Static method in class org.apache.commons.compress.archivers.zip.ScatterZipOutputStream
-
Create a
ScatterZipOutputStream
with default compression level that is backed by a file - fileBased(File, int) - Static method in class org.apache.commons.compress.archivers.zip.ScatterZipOutputStream
-
Create a
ScatterZipOutputStream
that is backed by a file - FileBasedScatterGatherBackingStore - Class in org.apache.commons.compress.parallel
-
ScatterGatherBackingStore that is backed by a file.
- FileBasedScatterGatherBackingStore(File) - Constructor for class org.apache.commons.compress.parallel.FileBasedScatterGatherBackingStore
- FileNameUtil - Class in org.apache.commons.compress.compressors
-
File name mapping code for the compression formats.
- FileNameUtil(Map<String, String>, String) - Constructor for class org.apache.commons.compress.compressors.FileNameUtil
-
sets up the utility with a map of known compressed to uncompressed suffix mappings and the default extension of the format.
- fill(ZipExtraField, byte[], int, int, boolean) - Method in interface org.apache.commons.compress.archivers.zip.ExtraFieldParsingBehavior
-
Fills in the extra field data for a single extra field.
- fill(ZipExtraField, byte[], int, int, boolean) - Method in enum org.apache.commons.compress.archivers.zip.ZipArchiveEntry.ExtraFieldParsingMode
- fillExtraField(ZipExtraField, byte[], int, int, boolean) - Static method in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils
-
Fills in the extra field data into the given instance.
- finalize() - Method in class org.apache.commons.compress.archivers.zip.ZipFile
-
Ensures that the close method of this zipfile is called when there are no more references to it.
- finalize() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
Overriden to warn about an unclosed stream.
- find(int) - Static method in enum org.apache.commons.compress.archivers.dump.DumpArchiveConstants.COMPRESSION_TYPE
- find(int) - Static method in enum org.apache.commons.compress.archivers.dump.DumpArchiveConstants.SEGMENT_TYPE
- find(int) - Static method in enum org.apache.commons.compress.archivers.dump.DumpArchiveEntry.PERMISSION
- find(int) - Static method in enum org.apache.commons.compress.archivers.dump.DumpArchiveEntry.TYPE
- findAvailableArchiveInputStreamProviders() - Static method in class org.apache.commons.compress.archivers.ArchiveStreamFactory
-
Constructs a new sorted map from input stream provider names to provider objects.
- findAvailableArchiveOutputStreamProviders() - Static method in class org.apache.commons.compress.archivers.ArchiveStreamFactory
-
Constructs a new sorted map from output stream provider names to provider objects.
- findAvailableCompressorInputStreamProviders() - Static method in class org.apache.commons.compress.compressors.CompressorStreamFactory
-
Constructs a new sorted map from input stream provider names to provider objects.
- findAvailableCompressorOutputStreamProviders() - Static method in class org.apache.commons.compress.compressors.CompressorStreamFactory
-
Constructs a new sorted map from output stream provider names to provider objects.
- finish() - Method in class org.apache.commons.compress.archivers.ar.ArArchiveOutputStream
- 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.sevenz.SevenZOutputFile
-
Finishes the addition of entries to this archive, without closing it.
- 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
- finish() - Method in class org.apache.commons.compress.compressors.deflate.DeflateCompressorOutputStream
-
Finishes compression without closing the underlying stream.
- finish() - Method in class org.apache.commons.compress.compressors.gzip.GzipCompressorOutputStream
-
Finishes writing compressed data to the underlying stream without closing it.
- finish() - Method in class org.apache.commons.compress.compressors.lz4.BlockLZ4CompressorOutputStream
-
Compresses all remaining data and writes it to the stream, doesn't close the underlying stream.
- finish() - Method in class org.apache.commons.compress.compressors.lz4.FramedLZ4CompressorOutputStream
-
Compresses all remaining data and writes it to the stream, doesn't close the underlying stream.
- finish() - Method in class org.apache.commons.compress.compressors.lz77support.LZ77Compressor
-
Tells the compressor to process all remaining data and signal end of data to the callback.
- finish() - Method in class org.apache.commons.compress.compressors.lzma.LZMACompressorOutputStream
-
Finishes compression without closing the underlying stream.
- finish() - Method in class org.apache.commons.compress.compressors.pack200.Pack200CompressorOutputStream
- finish() - Method in class org.apache.commons.compress.compressors.snappy.FramedSnappyCompressorOutputStream
-
Compresses all remaining data and writes it to the stream, doesn't close the underlying stream.
- finish() - Method in class org.apache.commons.compress.compressors.snappy.SnappyCompressorOutputStream
-
Compresses all remaining data and writes it to the stream, doesn't close the underlying stream.
- finish() - Method in class org.apache.commons.compress.compressors.xz.XZCompressorOutputStream
-
Finishes compression without closing the underlying stream.
- finished - Variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
indicates if this archive is finished.
- FixedLengthBlockOutputStream - Class in org.apache.commons.compress.utils
-
This class supports writing to an Outputstream or WritableByteChannel in fixed length blocks.
- FixedLengthBlockOutputStream(OutputStream, int) - Constructor for class org.apache.commons.compress.utils.FixedLengthBlockOutputStream
-
Create a fixed length block output stream with given destination stream and block size
- FixedLengthBlockOutputStream(WritableByteChannel, int) - Constructor for class org.apache.commons.compress.utils.FixedLengthBlockOutputStream
-
Create a fixed length block output stream with given destination writable byte channel and block size
- 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
- flush() - Method in class org.apache.commons.compress.compressors.deflate.DeflateCompressorOutputStream
-
Flushes the encoder and calls
outputStream.flush()
. - flush() - Method in class org.apache.commons.compress.compressors.gzip.GzipCompressorOutputStream
- flush() - Method in class org.apache.commons.compress.compressors.lzma.LZMACompressorOutputStream
-
Doesn't do anything as
LZMAOutputStream
doesn't support flushing. - flush() - Method in class org.apache.commons.compress.compressors.xz.XZCompressorOutputStream
-
Flushes the encoder and calls
outputStream.flush()
. - flush() - Method in class org.apache.commons.compress.utils.FlushShieldFilterOutputStream
- flushBlock() - Method in class org.apache.commons.compress.utils.FixedLengthBlockOutputStream
-
Potentially pads and then writes the current block to the underlying stream.
- FlushShieldFilterOutputStream - Class in org.apache.commons.compress.utils
-
Re-implements
FilterOutputStream.flush()
to do nothing. - FlushShieldFilterOutputStream(OutputStream) - Constructor for class org.apache.commons.compress.utils.FlushShieldFilterOutputStream
- forFiles(File...) - Static method in class org.apache.commons.compress.utils.MultiReadOnlySeekableByteChannel
-
Concatenates the given files.
- FORMAT_NEW - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
write/read a CpioArchiveEntry in the new format
- FORMAT_NEW_CRC - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
write/read a CpioArchiveEntry in the new format with crc
- FORMAT_NEW_MASK - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
Mask for both new formats
- FORMAT_OLD_ASCII - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
write/read a CpioArchiveEntry in the old ascii format
- FORMAT_OLD_BINARY - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
write/read a CpioArchiveEntry in the old binary format
- FORMAT_OLD_MASK - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
Mask for both old formats
- FORMAT_OLDGNU - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
GNU format as per before tar 1.12.
- FORMAT_POSIX - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
Pure Posix format.
- FORMAT_XSTAR - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
xstar format used by Jörg Schilling's star.
- 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.
- formatLongOctalOrBinaryBytes(long, byte[], int, int) - Static method in class org.apache.commons.compress.archivers.tar.TarUtils
-
Write an long integer into a buffer as an octal string if this will fit, or as a binary number otherwise.
- formatNameBytes(String, byte[], int, int) - Static method in class org.apache.commons.compress.archivers.tar.TarUtils
-
Copy a name into a buffer.
- formatNameBytes(String, byte[], int, int, ZipEncoding) - Static method in class org.apache.commons.compress.archivers.tar.TarUtils
-
Copy a name 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.
- forSeekableByteChannels(SeekableByteChannel...) - Static method in class org.apache.commons.compress.utils.MultiReadOnlySeekableByteChannel
-
Concatenates the given channels.
- FramedLZ4CompressorInputStream - Class in org.apache.commons.compress.compressors.lz4
-
CompressorInputStream for the LZ4 frame format.
- FramedLZ4CompressorInputStream(InputStream) - Constructor for class org.apache.commons.compress.compressors.lz4.FramedLZ4CompressorInputStream
-
Creates a new input stream that decompresses streams compressed using the LZ4 frame format and stops after decompressing the first frame.
- FramedLZ4CompressorInputStream(InputStream, boolean) - Constructor for class org.apache.commons.compress.compressors.lz4.FramedLZ4CompressorInputStream
-
Creates a new input stream that decompresses streams compressed using the LZ4 frame format.
- FramedLZ4CompressorOutputStream - Class in org.apache.commons.compress.compressors.lz4
-
CompressorOutputStream for the LZ4 frame format.
- FramedLZ4CompressorOutputStream(OutputStream) - Constructor for class org.apache.commons.compress.compressors.lz4.FramedLZ4CompressorOutputStream
-
Constructs a new output stream that compresses data using the LZ4 frame format using the default block size of 4MB.
- FramedLZ4CompressorOutputStream(OutputStream, FramedLZ4CompressorOutputStream.Parameters) - Constructor for class org.apache.commons.compress.compressors.lz4.FramedLZ4CompressorOutputStream
-
Constructs a new output stream that compresses data using the LZ4 frame format using the given block size.
- FramedLZ4CompressorOutputStream.BlockSize - Enum in org.apache.commons.compress.compressors.lz4
-
The block sizes supported by the format.
- FramedLZ4CompressorOutputStream.Parameters - Class in org.apache.commons.compress.compressors.lz4
-
Parameters of the LZ4 frame format.
- FramedSnappyCompressorInputStream - Class in org.apache.commons.compress.compressors.snappy
-
CompressorInputStream for the framing Snappy format.
- FramedSnappyCompressorInputStream(InputStream) - Constructor for class org.apache.commons.compress.compressors.snappy.FramedSnappyCompressorInputStream
-
Constructs a new input stream that decompresses snappy-framed-compressed data from the specified input stream using the
FramedSnappyDialect.STANDARD
dialect. - FramedSnappyCompressorInputStream(InputStream, int, FramedSnappyDialect) - Constructor for class org.apache.commons.compress.compressors.snappy.FramedSnappyCompressorInputStream
-
Constructs a new input stream that decompresses snappy-framed-compressed data from the specified input stream.
- FramedSnappyCompressorInputStream(InputStream, FramedSnappyDialect) - Constructor for class org.apache.commons.compress.compressors.snappy.FramedSnappyCompressorInputStream
-
Constructs a new input stream that decompresses snappy-framed-compressed data from the specified input stream.
- FramedSnappyCompressorOutputStream - Class in org.apache.commons.compress.compressors.snappy
-
CompressorOutputStream for the framing Snappy format.
- FramedSnappyCompressorOutputStream(OutputStream) - Constructor for class org.apache.commons.compress.compressors.snappy.FramedSnappyCompressorOutputStream
-
Constructs a new output stream that compresses snappy-framed-compressed data to the specified output stream.
- FramedSnappyCompressorOutputStream(OutputStream, Parameters) - Constructor for class org.apache.commons.compress.compressors.snappy.FramedSnappyCompressorOutputStream
-
Constructs a new output stream that compresses snappy-framed-compressed data to the specified output stream.
- FramedSnappyDialect - Enum in org.apache.commons.compress.compressors.snappy
-
Dialects of the framing format that
FramedSnappyCompressorInputStream
can deal with. - fromDosTime(ZipLong) - Static method in class org.apache.commons.compress.archivers.zip.ZipUtil
-
Convert a DOS date/time field to a Date object.
- fromLittleEndian(byte[]) - Static method in class org.apache.commons.compress.utils.ByteUtils
-
Reads the given byte array as a little endian long.
- fromLittleEndian(byte[], int, int) - Static method in class org.apache.commons.compress.utils.ByteUtils
-
Reads the given byte array as a little endian long.
- fromLittleEndian(DataInput, int) - Static method in class org.apache.commons.compress.utils.ByteUtils
-
Reads the given number of bytes from the given input as little endian long.
- fromLittleEndian(InputStream, int) - Static method in class org.apache.commons.compress.utils.ByteUtils
-
Reads the given number of bytes from the given stream as a little endian long.
- fromLittleEndian(ByteUtils.ByteSupplier, int) - Static method in class org.apache.commons.compress.utils.ByteUtils
-
Reads the given number of bytes from the given supplier as a little endian long.
- FS_UFS2_MAGIC - Static variable in class org.apache.commons.compress.archivers.dump.DumpArchiveConstants
G
- GeneralPurposeBit - Class in org.apache.commons.compress.archivers.zip
-
Parser/encoder for the "general purpose bit" field in ZIP's local file and central directory headers.
- GeneralPurposeBit() - Constructor for class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
- get() - Method in interface org.apache.commons.compress.archivers.zip.ZipArchiveEntryRequestSupplier
-
Supply a
ZipArchiveEntryRequest
to be added to a parallel archive. - get() - Method in interface org.apache.commons.compress.parallel.InputStreamSupplier
-
Supply an input stream for a resource.
- get() - Method in interface org.apache.commons.compress.parallel.ScatterGatherBackingStoreSupplier
-
Create a ScatterGatherBackingStore.
- getAccessDate() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Gets the access date.
- getAccessJavaTime() - Method in class org.apache.commons.compress.archivers.zip.X000A_NTFS
-
Returns the access time as a java.util.Date of this zip entry, or null if no such timestamp exists in the zip entry.
- getAccessJavaTime() - Method in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
-
Returns the access time as a java.util.Date of this zip entry, or null if no such timestamp exists in the zip entry.
- getAccessTime() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Returns the time the file was last accessed.
- getAccessTime() - Method in class org.apache.commons.compress.archivers.zip.X000A_NTFS
-
Returns the "File last access time" of this zip entry as a ZipEightByteInteger object, or
ZipEightByteInteger.ZERO
if no such timestamp exists in the zip entry. - getAccessTime() - Method in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
-
Returns the access time (seconds since epoch) of this zip entry as a ZipLong object, or null if no such timestamp exists in the zip entry.
- getAddedFromChangeSet() - Method in class org.apache.commons.compress.changes.ChangeSetResults
-
Returns a list of file names which has been added from the changeset
- getAddedFromStream() - Method in class org.apache.commons.compress.changes.ChangeSetResults
-
Returns a list of file names which has been added from the original stream
- getAlgorithmByCode(int) - Static method in enum org.apache.commons.compress.archivers.zip.PKWareExtraHeader.EncryptionAlgorithm
-
Returns the EncryptionAlgorithm for the given code or null if the method is not known.
- getAlgorithmByCode(int) - Static method in enum org.apache.commons.compress.archivers.zip.PKWareExtraHeader.HashAlgorithm
-
Returns the HashAlgorithm for the given code or null if the method is not known.
- getAlignment() - Method in class org.apache.commons.compress.archivers.zip.ResourceAlignmentExtraField
-
Gets requested alignment.
- getAlignment() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Gets currently configured alignment.
- getAlignmentBoundary() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Get the alignment boundary for this CPIO format
- getArchiveComment() - Method in class org.apache.commons.compress.archivers.arj.ArjArchiveInputStream
-
Gets the archive's comment.
- getArchiveInputStreamProviders() - Method in class org.apache.commons.compress.archivers.ArchiveStreamFactory
- getArchiveName() - Method in class org.apache.commons.compress.archivers.arj.ArjArchiveInputStream
-
Gets the archive's recorded name.
- getArchiveOutputStreamProviders() - Method in class org.apache.commons.compress.archivers.ArchiveStreamFactory
- getAsByte() - Method in interface org.apache.commons.compress.utils.ByteUtils.ByteSupplier
-
The contract is similar to
InputStream.read()
, return the byte as an unsigned int, -1 if there are no more bytes. - getAsByte() - Method in class org.apache.commons.compress.utils.ByteUtils.InputStreamByteSupplier
- getBlockSize() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
Returns the blocksize parameter specified at construction time.
- getBrotli() - Static method in class org.apache.commons.compress.compressors.CompressorStreamFactory
- getBytes() - Method in class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
-
Get value as eight bytes in big endian byte order.
- getBytes() - Method in class org.apache.commons.compress.archivers.zip.ZipLong
-
Get value as four bytes in big endian byte order.
- getBytes() - 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.
- getBytes(long) - Static method in class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
-
Get value as eight bytes in big endian byte order.
- getBytes(long) - Static method in class org.apache.commons.compress.archivers.zip.ZipLong
-
Get value as four bytes in big endian byte order.
- getBytes(BigInteger) - Static method in class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
-
Get value as eight bytes in big endian byte order.
- 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.archivers.dump.DumpArchiveInputStream
- getBytesRead() - Method in class org.apache.commons.compress.archivers.zip.StreamCompressor
-
Return the number of bytes read from the source stream
- getBytesRead() - Method in class org.apache.commons.compress.compressors.CompressorInputStream
-
Returns the current number of bytes read from this stream.
- getBytesRead() - Method in class org.apache.commons.compress.utils.BitInputStream
-
Returns the number of bytes read from the underlying stream.
- getBytesRead() - Method in class org.apache.commons.compress.utils.CountingInputStream
-
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.
- getBytesWritten() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
- getBytesWritten() - Method in class org.apache.commons.compress.utils.CountingOutputStream
-
Returns the current number of bytes written to this stream.
- getBytesWrittenForLastEntry() - Method in class org.apache.commons.compress.archivers.zip.StreamCompressor
-
The number of bytes written to the output for the last entry
- getBzip2() - Static method in class org.apache.commons.compress.compressors.CompressorStreamFactory
- getCentralDirectoryData() - Method in class org.apache.commons.compress.archivers.zip.AbstractUnicodeExtraField
- 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.PKWareExtraHeader
-
Get the central data.
- getCentralDirectoryData() - Method in class org.apache.commons.compress.archivers.zip.ResourceAlignmentExtraField
- getCentralDirectoryData() - Method in class org.apache.commons.compress.archivers.zip.UnparseableExtraFieldData
-
The actual data to put into central directory.
- getCentralDirectoryData() - Method in class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
-
Get the central data.
- getCentralDirectoryData() - Method in class org.apache.commons.compress.archivers.zip.X000A_NTFS
-
The actual data to put into central directory data - without Header-ID or length specifier.
- getCentralDirectoryData() - Method in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
-
The actual data to put into central directory data - without Header-ID or length specifier.
- getCentralDirectoryData() - Method in class org.apache.commons.compress.archivers.zip.X7875_NewUnix
-
The actual data to put into central directory data - without Header-ID or length specifier.
- getCentralDirectoryData() - Method in class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
- 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
- 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.PKWareExtraHeader
-
Get the central data length.
- getCentralDirectoryLength() - Method in class org.apache.commons.compress.archivers.zip.ResourceAlignmentExtraField
- getCentralDirectoryLength() - Method in class org.apache.commons.compress.archivers.zip.UnparseableExtraFieldData
-
Length of the complete extra field in the central directory.
- getCentralDirectoryLength() - Method in class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
-
Get the central data length.
- getCentralDirectoryLength() - Method in class org.apache.commons.compress.archivers.zip.X000A_NTFS
-
Length of the extra field in the local file data - without Header-ID or length specifier.
- getCentralDirectoryLength() - Method in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
-
Length of the extra field in the local file data - without Header-ID or length specifier.
- getCentralDirectoryLength() - Method in class org.apache.commons.compress.archivers.zip.X7875_NewUnix
-
Length of the extra field in the central directory data - without Header-ID or length specifier.
- getCentralDirectoryLength() - Method in class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
- 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
-
Deprecated.since 1.5, not currently implemented
- getCharset() - Method in interface org.apache.commons.compress.archivers.zip.CharsetAccessor
-
Provides access to the character set associated with an object.
- getChksum() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Get the checksum.
- getClearCode() - Method in class org.apache.commons.compress.compressors.lzw.LZWInputStream
- getCode() - Method in enum org.apache.commons.compress.archivers.zip.PKWareExtraHeader.EncryptionAlgorithm
-
the algorithm id.
- getCode() - Method in enum org.apache.commons.compress.archivers.zip.PKWareExtraHeader.HashAlgorithm
-
the hash algorithm ID.
- getCode() - Method in enum org.apache.commons.compress.archivers.zip.ZipMethod
-
the code of the compression method.
- getCodeSize() - Method in class org.apache.commons.compress.compressors.lzw.LZWInputStream
- getComment() - Method in class org.apache.commons.compress.compressors.gzip.GzipParameters
- getCommentSource() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
The source of the comment field value.
- getCompressedCount() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
- getCompressedCount() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
- getCompressedCount() - Method in class org.apache.commons.compress.compressors.deflate.DeflateCompressorInputStream
- getCompressedCount() - Method in class org.apache.commons.compress.compressors.deflate64.Deflate64CompressorInputStream
- getCompressedCount() - Method in class org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream
- getCompressedCount() - Method in class org.apache.commons.compress.compressors.lz4.FramedLZ4CompressorInputStream
- getCompressedCount() - Method in class org.apache.commons.compress.compressors.lz77support.AbstractLZ77CompressorInputStream
- getCompressedCount() - Method in class org.apache.commons.compress.compressors.lzma.LZMACompressorInputStream
- getCompressedCount() - Method in class org.apache.commons.compress.compressors.lzw.LZWInputStream
- getCompressedCount() - Method in class org.apache.commons.compress.compressors.snappy.FramedSnappyCompressorInputStream
- getCompressedCount() - Method in class org.apache.commons.compress.compressors.xz.XZCompressorInputStream
- getCompressedCount() - Method in interface org.apache.commons.compress.utils.InputStreamStatistics
- getCompressedFilename(String) - Static method in class org.apache.commons.compress.compressors.bzip2.BZip2Utils
-
Maps the given file name to the name that the file should have after compression with bzip2.
- getCompressedFilename(String) - Method in class org.apache.commons.compress.compressors.FileNameUtil
-
Maps the given file name to the name that the file should have after compression.
- getCompressedFilename(String) - Static method in class org.apache.commons.compress.compressors.gzip.GzipUtils
-
Maps the given file name to the name that the file should have after compression with gzip.
- getCompressedFilename(String) - Static method in class org.apache.commons.compress.compressors.lzma.LZMAUtils
-
Maps the given file name to the name that the file should have after compression with lzma.
- getCompressedFilename(String) - Static method in class org.apache.commons.compress.compressors.xz.XZUtils
-
Maps the given file name to the name that the file should have after compression with xz.
- getCompressedSize() - Method in class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
-
The compressed size stored in this extra field.
- getCompressionElapsed() - Method in class org.apache.commons.compress.archivers.zip.ScatterStatistics
-
The number of milliseconds elapsed in the parallel compression phase
- getCompressionLevel() - Method in class org.apache.commons.compress.compressors.deflate.DeflateParameters
-
The compression level.
- getCompressionLevel() - Method in class org.apache.commons.compress.compressors.gzip.GzipParameters
- getCompressorInputStreamProviders() - Method in class org.apache.commons.compress.compressors.CompressorStreamFactory
- getCompressorOutputStreamProviders() - Method in class org.apache.commons.compress.compressors.CompressorStreamFactory
- getContentMethods() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Gets the (compression) methods to use for entry's content - the default is LZMA2.
- 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.archivers.dump.DumpArchiveInputStream
-
Deprecated.
- getCount() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
-
Deprecated.
- getCount() - Method in class org.apache.commons.compress.compressors.CompressorInputStream
-
Deprecated.this method may yield wrong results for large archives, use #getBytesRead instead
- getCrc() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Deprecated.use getCrcValue instead.
- getCrc32() - Method in class org.apache.commons.compress.archivers.zip.StreamCompressor
-
The crc32 of the last deflated file
- getCrcValue() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Gets the CRC.
- getCreateJavaTime() - Method in class org.apache.commons.compress.archivers.zip.X000A_NTFS
-
Returns the create time as a a java.util.Date of this zip entry, or null if no such timestamp exists in the zip entry.
- getCreateJavaTime() - Method in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
-
Returns the create time as a a java.util.Date of this zip entry, or null if no such timestamp exists in the zip entry.
- getCreateTime() - Method in class org.apache.commons.compress.archivers.zip.X000A_NTFS
-
Returns the "File creation time" of this zip entry as a ZipEightByteInteger object, or
ZipEightByteInteger.ZERO
if no such timestamp exists in the zip entry. - getCreateTime() - Method in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
-
Returns the create time (seconds since epoch) of this zip entry as a ZipLong object, or null if no such timestamp exists in the zip entry.
- getCreationDate() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Gets the creation date.
- getCreationTime() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Get file creation time.
- getCurrentEntry() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
-
Get the current TAR Archive Entry that this input stream is processing
- getData() - Method in class org.apache.commons.compress.compressors.lz77support.LZ77Compressor.LiteralBlock
-
The literal data.
- getDataOffset() - Method in interface org.apache.commons.compress.archivers.EntryStreamOffsets
-
Gets the offset of data stream within the archive file,
- getDataOffset() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
- 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.
- getDecompressUntilEOF() - Method in class org.apache.commons.compress.compressors.CompressorStreamFactory
- getDefaultName() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZFile
-
Derives a default file name from the archive name - if known.
- getDeflate() - Static method in class org.apache.commons.compress.compressors.CompressorStreamFactory
- getDeflate64() - Static method in class org.apache.commons.compress.compressors.CompressorStreamFactory
- getDeleted() - Method in class org.apache.commons.compress.changes.ChangeSetResults
-
Returns a list of file names 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
- getDevMajor() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Get this entry's major device number.
- getDevMinor() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Get this entry's minor device number.
- getDevname() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
-
Get the device name, e.g., /dev/sda3 or /dev/mapper/vg0-home.
- getDirectoryEntries() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
If this entry represents a file, and the file is a directory, return an array of TarEntries for this entry's children.
- getDiskStartNumber() - Method in class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
-
The disk start number stored in this extra field.
- getDumpDate() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
-
Get the date of this dump.
- getEncoding() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
The encoding to use for file names and the file comment.
- getEncoding() - Method in class org.apache.commons.compress.archivers.zip.ZipFile
-
The encoding to use for file names and the file comment.
- getEncryptionAlgorithm() - Method in class org.apache.commons.compress.archivers.zip.X0017_StrongEncryptionHeader
-
Get encryption algorithm.
- getEntries() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZFile
-
Returns meta-data of all archive entries.
- getEntries() - Method in class org.apache.commons.compress.archivers.zip.ZipFile
-
Returns all entries.
- getEntries(String) - Method in class org.apache.commons.compress.archivers.zip.ZipFile
-
Returns all named entries in the same order they appear within the archive's central directory.
- getEntriesInPhysicalOrder() - Method in class org.apache.commons.compress.archivers.zip.ZipFile
-
Returns all entries in physical order.
- getEntriesInPhysicalOrder(String) - Method in class org.apache.commons.compress.archivers.zip.ZipFile
-
Returns all named entries in the same order their contents appear within the archive.
- 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. - getEntryEncoding() - Method in class org.apache.commons.compress.archivers.ArchiveStreamFactory
-
Returns the encoding to use for arj, jar, zip, dump, cpio and tar files, or null for the archiver default.
- 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.
- getExtraFields(ExtraFieldParsingBehavior) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Retrieves extra fields.
- getExtraPaxHeader(String) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
get named extra PAX header
- getExtraPaxHeaders() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
get extra PAX Headers
- 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.
- getFilename() - Method in class org.apache.commons.compress.compressors.gzip.GzipParameters
- getFilesystem() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
-
Get the last mountpoint, e.g., /home.
- getFirstRecord() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
-
Get the inode of the first record on this volume.
- getFlags() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
-
Get the miscellaneous flags.
- getFlags() - Method in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
-
Gets flags byte.
- getFormat() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Get the format for this entry.
- getFormat() - Method in exception org.apache.commons.compress.archivers.StreamingNotSupportedException
-
Returns the format that has been requested/detected.
- getGeneralPurposeBit() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
The "general purpose bit" field.
- getGeneration() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Return the generation of the file.
- getGID() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Get the group id.
- getGID() - Method in class org.apache.commons.compress.archivers.zip.X7875_NewUnix
-
Gets the GID as a long.
- getGroupId() - Method in class org.apache.commons.compress.archivers.ar.ArArchiveEntry
- getGroupId() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Return the group id
- getGroupId() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Deprecated.use #getLongGroupId instead as group ids can be bigger than
Integer.MAX_VALUE
- 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.
- getGzip() - Static method in class org.apache.commons.compress.compressors.CompressorStreamFactory
- getHasAccessDate() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Returns whether this entry has got an access date at all.
- getHasCrc() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Returns whether this entry has got a crc.
- getHasCreationDate() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Returns whether this entry has got a creation date at all.
- getHashAlgorithm() - Method in class org.apache.commons.compress.archivers.zip.X0015_CertificateIdForFile
-
Get hash algorithm.
- getHashAlgorithm() - Method in class org.apache.commons.compress.archivers.zip.X0016_CertificateIdForCentralDirectory
-
Get hash algorithm.
- getHashAlgorithm() - Method in class org.apache.commons.compress.archivers.zip.X0017_StrongEncryptionHeader
-
Get hash algorithm.
- getHasLastModifiedDate() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Returns whether this entry has got a last modified date at all.
- getHasWindowsAttributes() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Returns whether this entry has windows attributes.
- getHeaderCount() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Return the number of records in this segment.
- getHeaderHoles() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Return the number of sparse records in this segment.
- 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.PKWareExtraHeader
-
Get the header id.
- getHeaderId() - Method in class org.apache.commons.compress.archivers.zip.ResourceAlignmentExtraField
- getHeaderId() - Method in class org.apache.commons.compress.archivers.zip.UnicodeCommentExtraField
- getHeaderId() - Method in class org.apache.commons.compress.archivers.zip.UnicodePathExtraField
- getHeaderId() - Method in class org.apache.commons.compress.archivers.zip.UnparseableExtraFieldData
-
The Header-ID.
- getHeaderId() - Method in class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
-
Get the header id.
- getHeaderId() - Method in class org.apache.commons.compress.archivers.zip.X000A_NTFS
-
The Header-ID.
- getHeaderId() - Method in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
-
The Header-ID.
- getHeaderId() - Method in class org.apache.commons.compress.archivers.zip.X7875_NewUnix
-
The Header-ID.
- getHeaderId() - Method in class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
- 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
-
Deprecated.This method doesn't properly work for multi-byte encodings. And creates corrupt archives. Use
CpioArchiveEntry.getHeaderPadCount(Charset)
orCpioArchiveEntry.getHeaderPadCount(long)
in any case. - getHeaderPadCount(long) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Get the number of bytes needed to pad the header to the alignment boundary.
- getHeaderPadCount(Charset) - 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
- getHeaderType() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Return the type of the tape segment header.
- getHostname() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
-
Get the hostname of the system where the dump was performed.
- getHostOs() - Method in class org.apache.commons.compress.archivers.arj.ArjArchiveEntry
-
The operating system the archive has been created on.
- getIno() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Returns the ino of the entry.
- getInode() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Set the inode.
- getInputStream() - Method in class org.apache.commons.compress.parallel.FileBasedScatterGatherBackingStore
- getInputStream() - Method in interface org.apache.commons.compress.parallel.ScatterGatherBackingStore
-
An input stream that contains the scattered payload
- getInputStream(ZipArchiveEntry) - Method in class org.apache.commons.compress.archivers.zip.ZipFile
-
Returns an InputStream for reading the contents of the given entry.
- getInputStreamArchiveNames() - Method in class org.apache.commons.compress.archivers.ArchiveStreamFactory
- getInputStreamArchiveNames() - Method in interface org.apache.commons.compress.archivers.ArchiveStreamProvider
-
Gets all the input stream archive names for this provider
- getInputStreamCompressorNames() - Method in class org.apache.commons.compress.compressors.CompressorStreamFactory
- getInputStreamCompressorNames() - Method in interface org.apache.commons.compress.compressors.CompressorStreamProvider
-
Gets all the input stream compressor names for this provider
- 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.
- getIntValue() - Method in class org.apache.commons.compress.archivers.zip.ZipLong
-
Get value as a (signed) java int
- getKey() - Method in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils.UnparseableExtraField
-
Key of the action to take.
- getLabel() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
-
Get dump label.
- 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
- getLastModifiedDate() - Method in interface org.apache.commons.compress.archivers.ArchiveEntry
-
Gets the last modified date of this entry.
- getLastModifiedDate() - Method in class org.apache.commons.compress.archivers.arj.ArjArchiveEntry
-
The last modified date of the entry.
- getLastModifiedDate() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
- getLastModifiedDate() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
The last modified date.
- getLastModifiedDate() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Gets the last modified date.
- getLastModifiedDate() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
- getLastModifiedDate() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Wraps
ZipEntry.getTime()
with aDate
as the entry's last modified date. - getLazyMatching() - Method in class org.apache.commons.compress.compressors.lz77support.Parameters
-
Gets whether to perform lazy matching.
- getLazyMatchingThreshold() - Method in class org.apache.commons.compress.compressors.lz77support.Parameters
-
Gets the threshold for lazy matching.
- getLength() - Method in class org.apache.commons.compress.archivers.ar.ArArchiveEntry
- getLength() - Method in class org.apache.commons.compress.compressors.lz77support.LZ77Compressor.BackReference
-
Provides the length of the back-reference.
- getLength() - Method in class org.apache.commons.compress.compressors.lz77support.LZ77Compressor.LiteralBlock
-
Length of literal block.
- getLevel() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
-
Get the level of this dump.
- 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
- 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.PKWareExtraHeader
-
Get the local data.
- getLocalFileDataData() - Method in class org.apache.commons.compress.archivers.zip.ResourceAlignmentExtraField
- getLocalFileDataData() - Method in class org.apache.commons.compress.archivers.zip.UnparseableExtraFieldData
-
The actual data to put into local file data.
- getLocalFileDataData() - Method in class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
-
Get the local data.
- getLocalFileDataData() - Method in class org.apache.commons.compress.archivers.zip.X000A_NTFS
-
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.X5455_ExtendedTimestamp
-
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.X7875_NewUnix
-
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.Zip64ExtendedInformationExtraField
- 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
- 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.PKWareExtraHeader
-
Get the length of the local data.
- getLocalFileDataLength() - Method in class org.apache.commons.compress.archivers.zip.ResourceAlignmentExtraField
- getLocalFileDataLength() - Method in class org.apache.commons.compress.archivers.zip.UnparseableExtraFieldData
-
Length of the complete extra field in the local file data.
- getLocalFileDataLength() - Method in class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
-
Get the length of the local data.
- getLocalFileDataLength() - Method in class org.apache.commons.compress.archivers.zip.X000A_NTFS
-
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.X5455_ExtendedTimestamp
-
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.X7875_NewUnix
-
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.Zip64ExtendedInformationExtraField
- 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.
- getLocalHeaderOffset() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
- getLongGroupId() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Get this entry's group id.
- getLongNameData() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
-
Get the next entry in this tar archive as longname data.
- getLongUserId() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Get this entry's user id.
- getLongValue() - Method in class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
-
Get value as Java long.
- getLongValue(byte[]) - Static method in class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
-
Helper method to get the value as a Java long from an eight-byte array
- getLongValue(byte[], int) - Static method in class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
-
Helper method to get the value as a Java long from eight bytes starting at given array offset
- getLZ4Block() - Static method in class org.apache.commons.compress.compressors.CompressorStreamFactory
- getLZ4Framed() - Static method in class org.apache.commons.compress.compressors.CompressorStreamFactory
- getLzma() - Static method in class org.apache.commons.compress.compressors.CompressorStreamFactory
- getManifestAttributes() - Method in class org.apache.commons.compress.archivers.jar.JarArchiveEntry
-
Deprecated.since 1.5, do not use; always returns null
- getMaxBackReferenceLength() - Method in class org.apache.commons.compress.compressors.lz77support.Parameters
-
Gets the maximal length of a back-reference found.
- getMaxCandidates() - Method in class org.apache.commons.compress.compressors.lz77support.Parameters
-
Gets the maximum number of back-reference candidates to consider.
- getMaxLiteralLength() - Method in class org.apache.commons.compress.compressors.lz77support.Parameters
-
Gets the maximal length of a literal block.
- getMaxMemoryLimitInKb() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZFileOptions
-
Gets the maximum amount of memory to use for extraction.
- getMaxOffset() - Method in class org.apache.commons.compress.compressors.lz77support.Parameters
-
Gets the maximal offset of a back-reference found.
- getMemoryLimitInKb() - Method in exception org.apache.commons.compress.MemoryLimitException
- getMemoryNeededInKb() - Method in exception org.apache.commons.compress.MemoryLimitException
- getMergingElapsed() - Method in class org.apache.commons.compress.archivers.zip.ScatterStatistics
-
The number of milliseconds elapsed in merging the results of the parallel compression, the IO phase
- getMetaData() - Method in class org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream
-
Provides the stream's meta data - may change with each stream when decompressing concatenated streams.
- getMethod() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZMethodConfiguration
-
The specified method.
- 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.
- getMethod() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntryRequest
-
The compression method to use
- getMethodByCode(int) - Static method in enum org.apache.commons.compress.archivers.zip.ZipMethod
-
returns the
ZipMethod
for the given code or null if the method is not known. - getMinBackReferenceLength() - Method in class org.apache.commons.compress.compressors.lz77support.Parameters
-
Gets the minimal length of a back-reference found.
- getMode() - Method in class org.apache.commons.compress.archivers.ar.ArArchiveEntry
- getMode() - Method in class org.apache.commons.compress.archivers.arj.ArjArchiveEntry
-
File mode of this entry.
- 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.dump.DumpArchiveEntry
-
Return the access permissions on the entry.
- 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.
- getModificationTime() - Method in class org.apache.commons.compress.compressors.gzip.GzipParameters
- getModifyJavaTime() - Method in class org.apache.commons.compress.archivers.zip.X000A_NTFS
-
Returns the modify time as a java.util.Date of this zip entry, or null if no such timestamp exists in the zip entry.
- getModifyJavaTime() - Method in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
-
Returns the modify time as a java.util.Date of this zip entry, or null if no such timestamp exists in the zip entry.
- getModifyTime() - Method in class org.apache.commons.compress.archivers.zip.X000A_NTFS
-
Returns the "File last modification time" of this zip entry as a ZipEightByteInteger object, or
ZipEightByteInteger.ZERO
if no such timestamp exists in the zip entry. - getModifyTime() - Method in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
-
Returns the modify time (seconds since epoch) of this zip entry as a ZipLong object, or null if no such timestamp exists in the zip entry.
- 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
- getName() - Method in interface org.apache.commons.compress.archivers.ArchiveEntry
-
Gets the name of the entry in this archive.
- getName() - Method in class org.apache.commons.compress.archivers.arj.ArjArchiveEntry
-
Get this entry's name.
- getName() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Get the name.
- getName() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Returns the name of the entry.
- getName() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Get this entry's 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
- getNameSource() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
The source of the name field value.
- 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.
- getNextDumpEntry() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveInputStream
-
Read the next entry.
- 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.arj.ArjArchiveInputStream
- getNextEntry() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveInputStream
- getNextEntry() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveInputStream
- getNextEntry() - Method in class org.apache.commons.compress.archivers.jar.JarArchiveInputStream
- getNextEntry() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZFile
-
Returns the next Archive Entry in this archive.
- getNextEntry() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
-
Returns the next Archive Entry in this Stream.
- getNextEntry() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
- 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
- getNiceBackReferenceLength() - Method in class org.apache.commons.compress.compressors.lz77support.Parameters
-
Gets the length of a back-reference that is considered nice enough to stop searching for longer ones.
- getNlink() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Return the number of hard links to the entry.
- getNTRec() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
-
Get the number of records per tape block.
- getNumberOfLinks() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Get the number of links.
- getOffset() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Return the offset within the archive
- getOffset() - Method in exception org.apache.commons.compress.archivers.dump.InvalidFormatException
- getOffset() - Method in class org.apache.commons.compress.compressors.lz77support.LZ77Compressor.BackReference
-
Provides the offset of the back-reference.
- getOffset() - Method in class org.apache.commons.compress.compressors.lz77support.LZ77Compressor.LiteralBlock
-
Offset into data where the literal block starts.
- getOperatingSystem() - Method in class org.apache.commons.compress.compressors.gzip.GzipParameters
- getOptions() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZMethodConfiguration
-
The specified options.
- getOutputStreamArchiveNames() - Method in class org.apache.commons.compress.archivers.ArchiveStreamFactory
- getOutputStreamArchiveNames() - Method in interface org.apache.commons.compress.archivers.ArchiveStreamProvider
-
Gets all the output stream archive names for this provider
- getOutputStreamCompressorNames() - Method in class org.apache.commons.compress.compressors.CompressorStreamFactory
- getOutputStreamCompressorNames() - Method in interface org.apache.commons.compress.compressors.CompressorStreamProvider
-
Gets all the output stream compressor names for this provider
- getPack200() - Static method in class org.apache.commons.compress.compressors.CompressorStreamFactory
- getPayloadStream() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntryRequest
-
The paylaod that will be added to this zip entry
- getPermissions() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Returns the permissions on the entry.
- 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.
- getPrefix(int) - Method in class org.apache.commons.compress.compressors.lzw.LZWInputStream
- getPrefixesLength() - Method in class org.apache.commons.compress.compressors.lzw.LZWInputStream
- getPreviousDumpDate() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
-
Get the date of the previous dump at this level higher.
- getRawFlag() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
The content of the flags field.
- getRawInputStream(ZipArchiveEntry) - Method in class org.apache.commons.compress.archivers.zip.ZipFile
-
Expose the raw stream of the archive entry (compressed form).
- getRawName() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Returns the raw bytes that made up the name before it has been converted using the configured or guessed encoding.
- getRealSize() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Get this entry's real file size in case of a sparse file.
- getRecordCount() - Method in class org.apache.commons.compress.archivers.zip.X0015_CertificateIdForFile
-
Get record count.
- getRecordCount() - Method in class org.apache.commons.compress.archivers.zip.X0016_CertificateIdForCentralDirectory
-
Get record count.
- getRecordCount() - Method in class org.apache.commons.compress.archivers.zip.X0017_StrongEncryptionHeader
-
Get record count.
- getRecordSize() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
-
Get the record size being used by this stream's buffer.
- getRecordSize() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
-
Deprecated.
- getRelativeHeaderOffset() - Method in class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
-
The relative header offset stored in this extra field.
- getRemoteDevice() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Get the remote device id.
- getRemoteDeviceMaj() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Get the remote major device id.
- getRemoteDeviceMin() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Get the remote minor device id.
- getSimpleName() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Returns the path of the entry.
- getSingleton() - Static method in class org.apache.commons.compress.compressors.CompressorStreamFactory
- getSize() - Method in class org.apache.commons.compress.archivers.ar.ArArchiveEntry
- getSize() - Method in interface org.apache.commons.compress.archivers.ArchiveEntry
-
Gets the uncompressed size of this entry.
- getSize() - Method in class org.apache.commons.compress.archivers.arj.ArjArchiveEntry
-
Get this entry's file size.
- getSize() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Get the filesize.
- getSize() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Returns the size of the entry.
- getSize() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Get this entry's file size.
- getSize() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Get this entry's file size.
- getSize() - Method in class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
-
The uncompressed size stored in this extra field.
- getSize() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Gets the uncompressed size of the entry data.
- getSize() - Method in class org.apache.commons.compress.compressors.lz77support.AbstractLZ77CompressorInputStream
-
Get the uncompressed size of the stream
- getSize() - Method in class org.apache.commons.compress.compressors.snappy.SnappyCompressorInputStream
-
Get the uncompressed size of the stream
- getSnappyFramed() - Static method in class org.apache.commons.compress.compressors.CompressorStreamFactory
- getSnappyRaw() - Static method in class org.apache.commons.compress.compressors.CompressorStreamFactory
- getStatisticsForCurrentEntry() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZFile
-
Provides statistics for bytes read from the current entry.
- getStatisticsMessage() - Method in class org.apache.commons.compress.archivers.zip.ParallelScatterZipCreator
-
Returns a message describing the overall statistics of the compression run
- getSummary() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveInputStream
-
Return the archive summary information.
- getTableSize() - Method in class org.apache.commons.compress.compressors.lzw.LZWInputStream
- getTime() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Get the time in seconds.
- getTotalBytesWritten() - Method in class org.apache.commons.compress.archivers.zip.StreamCompressor
-
The total number of bytes written to the output for all files
- getType() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Get the type of the entry.
- getType() - Method in class org.apache.commons.compress.compressors.lz77support.LZ77Compressor.BackReference
- getType() - Method in class org.apache.commons.compress.compressors.lz77support.LZ77Compressor.Block
- getType() - Method in class org.apache.commons.compress.compressors.lz77support.LZ77Compressor.EOD
- getType() - Method in class org.apache.commons.compress.compressors.lz77support.LZ77Compressor.LiteralBlock
- getUID() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Get the user id.
- getUID() - Method in class org.apache.commons.compress.archivers.zip.X7875_NewUnix
-
Gets the UID as a long.
- getUncompressedCount() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
- getUncompressedCount() - Method in class org.apache.commons.compress.compressors.CompressorInputStream
-
Returns the amount of raw or compressed bytes read by the stream.
- getUncompressedCount() - Method in interface org.apache.commons.compress.utils.InputStreamStatistics
- 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) - Method in class org.apache.commons.compress.compressors.FileNameUtil
-
Maps the given name of a 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.
- getUncompressedFilename(String) - Static method in class org.apache.commons.compress.compressors.lzma.LZMAUtils
-
Maps the given name of a lzma-compressed file to the name that the file should have after uncompression.
- getUncompressedFilename(String) - Static method in class org.apache.commons.compress.compressors.xz.XZUtils
-
Maps the given name of a xz-compressed file to the name that the file should have after uncompression.
- getUnicodeName() - Method in class org.apache.commons.compress.archivers.zip.AbstractUnicodeExtraField
- getUnixMode() - Method in class org.apache.commons.compress.archivers.arj.ArjArchiveEntry
-
File mode of this entry as Unix stat value.
- getUnixMode() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Unix permission.
- getUnixSymlink(ZipArchiveEntry) - Method in class org.apache.commons.compress.archivers.zip.ZipFile
-
Convenience method to return the entry's content as a String if isUnixSymlink() returns true for it, otherwise returns null.
- getUnparseableExtraFieldData() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Looks up extra field data that couldn't be parsed correctly.
- getUseDefaultNameForUnnamedEntries() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZFileOptions
-
Gets whether entries without a name should get their names set to the archive's default file name.
- getUserId() - Method in class org.apache.commons.compress.archivers.ar.ArArchiveEntry
- getUserId() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Return the user id.
- getUserId() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Deprecated.use #getLongUserId instead as user ids can be bigger than
Integer.MAX_VALUE
- getUserId() - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
-
Get the user id.
- getUserName() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Get this entry's user name.
- getValue() - Method in class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
-
Get value as Java BigInteger.
- getValue() - Method in class org.apache.commons.compress.archivers.zip.ZipLong
-
Get value as Java long.
- getValue() - Method in class org.apache.commons.compress.archivers.zip.ZipShort
-
Get value as Java int.
- getValue() - Method in class org.apache.commons.compress.compressors.lz4.XXHash32
- getValue() - Method in class org.apache.commons.compress.utils.ChecksumCalculatingInputStream
-
Returns the calculated checksum.
- getValue(byte[]) - Static method in class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
-
Helper method to get the value as a Java long from an eight-byte array
- getValue(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(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
- getValue(byte[], int) - Static method in class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
-
Helper method to get the value as a Java BigInteger from eight bytes starting at given array offset
- getValue(byte[], 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[], 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
- getVersionMadeBy() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
The "version made by" field.
- getVersionRequired() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
The "version required to expand" field.
- getVolume() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Return the tape volume where this file is located.
- getVolume() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
-
Get volume (tape) number.
- getWindowsAttributes() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Gets the windows attributes.
- getWindowSize() - Method in class org.apache.commons.compress.compressors.lz77support.Parameters
-
Gets the size of the sliding window - this determines the maximum offset a back-reference can take.
- getXz() - Static method in class org.apache.commons.compress.compressors.CompressorStreamFactory
- getZ() - Static method in class org.apache.commons.compress.compressors.CompressorStreamFactory
- getZipEncoding(String) - Static method in class org.apache.commons.compress.archivers.zip.ZipEncodingHelper
-
Instantiates a zip encoding.
- getZstandard() - Static method in class org.apache.commons.compress.compressors.CompressorStreamFactory
- GIDLEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The length of the group id field in a header buffer.
- GNAMELEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The length of the group name field in a header buffer.
- GNU_LONGLINK - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The name of the GNU tar entry which contains a long name.
- GROUP_EXEC - org.apache.commons.compress.archivers.dump.DumpArchiveEntry.PERMISSION
- GROUP_READ - org.apache.commons.compress.archivers.dump.DumpArchiveEntry.PERMISSION
- GROUP_WRITE - org.apache.commons.compress.archivers.dump.DumpArchiveEntry.PERMISSION
- GZIP - Static variable in class org.apache.commons.compress.compressors.CompressorStreamFactory
-
Constant (value "gz") used to identify the GZIP compression algorithm.
- GzipCompressorInputStream - Class in org.apache.commons.compress.compressors.gzip
-
Input stream that decompresses .gz files.
- GzipCompressorInputStream(InputStream) - Constructor for class org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream
-
Constructs a new input stream that decompresses gzip-compressed data from the specified input stream.
- GzipCompressorInputStream(InputStream, boolean) - Constructor for class org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream
-
Constructs a new input stream that decompresses gzip-compressed data from the specified input stream.
- GzipCompressorOutputStream - Class in org.apache.commons.compress.compressors.gzip
-
Compressed output stream using the gzip format.
- GzipCompressorOutputStream(OutputStream) - Constructor for class org.apache.commons.compress.compressors.gzip.GzipCompressorOutputStream
-
Creates a gzip compressed output stream with the default parameters.
- GzipCompressorOutputStream(OutputStream, GzipParameters) - Constructor for class org.apache.commons.compress.compressors.gzip.GzipCompressorOutputStream
-
Creates a gzip compressed output stream with the specified parameters.
- GzipParameters - Class in org.apache.commons.compress.compressors.gzip
-
Parameters for the GZIP compressor.
- GzipParameters() - Constructor for class org.apache.commons.compress.compressors.gzip.GzipParameters
- GzipUtils - Class in org.apache.commons.compress.compressors.gzip
-
Utility code for the gzip compression format.
H
- hashCode() - Method in class org.apache.commons.compress.archivers.ar.ArArchiveEntry
- hashCode() - Method in class org.apache.commons.compress.archivers.arj.ArjArchiveEntry
- hashCode() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
- hashCode() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
- hashCode() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
- hashCode() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
- hashCode() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZMethodConfiguration
- hashCode() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Hashcodes are based on entry names.
- hashCode() - Method in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
- hashCode() - Method in class org.apache.commons.compress.archivers.zip.X000A_NTFS
- hashCode() - Method in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
- hashCode() - Method in class org.apache.commons.compress.archivers.zip.X7875_NewUnix
- hashCode() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Get the hashCode of the entry.
- hashCode() - Method in class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
-
Override to make two instances with same value equal.
- hashCode() - Method in class org.apache.commons.compress.archivers.zip.ZipLong
-
Override to make two instances with same value equal.
- hashCode() - Method in class org.apache.commons.compress.archivers.zip.ZipShort
-
Override to make two instances with same value equal.
- hasMoreDataInBlock() - Method in class org.apache.commons.compress.compressors.lz77support.AbstractLZ77CompressorInputStream
-
Is there still data remaining inside the current block?
- hasNext() - Method in class org.apache.commons.compress.utils.ServiceLoaderIterator
- hasStream() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Whether there is any content associated with this entry.
- HEADER - Static variable in class org.apache.commons.compress.archivers.ar.ArArchiveEntry
-
The header for each entry
- HIGH_DENSITY_NTREC - Static variable in class org.apache.commons.compress.archivers.dump.DumpArchiveConstants
- HostOs() - Constructor for class org.apache.commons.compress.archivers.arj.ArjArchiveEntry.HostOs
I
- ID - Static variable in class org.apache.commons.compress.archivers.zip.ResourceAlignmentExtraField
-
Extra field id used for storing alignment and padding.
- IMPLODING - org.apache.commons.compress.archivers.zip.ZipMethod
-
Imploding.
- in - Variable in class org.apache.commons.compress.compressors.lzw.LZWInputStream
- IN_MEMORY - org.apache.commons.compress.compressors.pack200.Pack200Strategy
-
Cache output in memory
- incrementCodeSize() - Method in class org.apache.commons.compress.compressors.lzw.LZWInputStream
- initializeTables(int) - Method in class org.apache.commons.compress.compressors.lzw.LZWInputStream
-
Initializes the arrays based on the maximum code size.
- initializeTables(int, int) - Method in class org.apache.commons.compress.compressors.lzw.LZWInputStream
-
Initializes the arrays based on the maximum code size.
- INODE - org.apache.commons.compress.archivers.dump.DumpArchiveConstants.SEGMENT_TYPE
- InputStreamByteSupplier(InputStream) - Constructor for class org.apache.commons.compress.utils.ByteUtils.InputStreamByteSupplier
- InputStreamStatistics - Interface in org.apache.commons.compress.utils
-
This interface provides statistics on the current decompression stream.
- InputStreamSupplier - Interface in org.apache.commons.compress.parallel
-
Supplies input streams.
- InvalidFormatException - Exception in org.apache.commons.compress.archivers.dump
-
Invalid Format Exception.
- InvalidFormatException() - Constructor for exception org.apache.commons.compress.archivers.dump.InvalidFormatException
- InvalidFormatException(long) - Constructor for exception org.apache.commons.compress.archivers.dump.InvalidFormatException
- IOUtils - Class in org.apache.commons.compress.utils
-
Utility functions
- isAntiItem() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Indicates whether this is an "anti-item" used in differential backups, meaning it should delete the same file from a previous backup.
- isArrayZero(byte[], int) - Static method in class org.apache.commons.compress.utils.ArchiveUtils
-
Returns true if the first N bytes of an array are all zero
- isAtEOF() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
- isBit0_modifyTimePresent() - Method in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
-
Returns whether bit0 of the flags byte is set or not, which should correspond to the presence or absence of a modify timestamp in this particular zip entry.
- isBit1_accessTimePresent() - Method in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
-
Returns whether bit1 of the flags byte is set or not, which should correspond to the presence or absence of a "last access" timestamp in this particular zip entry.
- isBit2_createTimePresent() - Method in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
-
Returns whether bit2 of the flags byte is set or not, which should correspond to the presence or absence of a create timestamp in this particular zip entry.
- isBlkDev() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Is this a block device?
- isBlockDevice() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Check if this entry represents a block device.
- isBlockDevice() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Check if this is a block device entry.
- isCharacterDevice() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Check if this entry represents a character device.
- isCharacterDevice() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Check if this is a character device entry.
- isCheckSumOK() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Get this entry's checksum status.
- isChrDev() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Is this a character device?
- isCompressed() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
-
Is this volume compressed? N.B., individual blocks may or may not be compressed.
- isCompressedFilename(String) - Static method in class org.apache.commons.compress.compressors.bzip2.BZip2Utils
-
Detects common bzip2 suffixes in the given file name.
- isCompressedFilename(String) - Method in class org.apache.commons.compress.compressors.FileNameUtil
-
Detects common format suffixes in the given file name.
- isCompressedFilename(String) - Static method in class org.apache.commons.compress.compressors.gzip.GzipUtils
-
Detects common gzip suffixes in the given file name.
- isCompressedFilename(String) - Static method in class org.apache.commons.compress.compressors.lzma.LZMAUtils
-
Detects common lzma suffixes in the given file name.
- isCompressedFilename(String) - Static method in class org.apache.commons.compress.compressors.xz.XZUtils
-
Detects common xz suffixes in the given file name.
- isDeleted() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Has this file been deleted? (On valid on incremental dumps.)
- 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
- isDirectory() - Method in interface org.apache.commons.compress.archivers.ArchiveEntry
-
Returns true if this entry refers to a directory.
- isDirectory() - Method in class org.apache.commons.compress.archivers.arj.ArjArchiveEntry
-
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.dump.DumpArchiveEntry
-
Is this a directory?
- isDirectory() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Return whether or not 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.TarArchiveInputStream
-
Determine if an archive record indicate End of Archive.
- 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
- isEqual(byte[], int, int, byte[], int, int) - Static method in class org.apache.commons.compress.utils.ArchiveUtils
-
Compare byte buffers
- 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
- isEqualWithNull(byte[], int, int, byte[], int, int) - Static method in class org.apache.commons.compress.utils.ArchiveUtils
-
Compare byte buffers, ignoring trailing nulls
- isExtended() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Indicates in case of an oldgnu sparse file if an extension sparse header follows.
- isExtended() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveSparseEntry
- isExtendedAttributes() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
-
Does this volume cotain extended attributes.
- ISEXTENDEDLEN_GNU - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The length of the is extension field in an old GNU header buffer.
- ISEXTENDEDLEN_GNU_SPARSE - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The length of the is extension field in a sparse header buffer.
- isFifo() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Is this a fifo/pipe?
- isFIFO() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Check if this is a FIFO (pipe) entry.
- isFile() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Is this a regular file?
- isFile() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Check if this is a "normal file"
- isGlobalPaxHeader() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Check if this is a Pax header.
- isGNULongLinkEntry() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Indicate if this entry is a GNU long linkname block
- isGNULongNameEntry() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Indicate if this entry is a GNU long name block
- isGNUSparse() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Indicate if this entry is a GNU sparse block.
- isHostOsUnix() - Method in class org.apache.commons.compress.archivers.arj.ArjArchiveEntry
-
Is the operating system the archive has been created on one that is considered a UNIX OS by arj?
- isLink() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Check if this is a link entry.
- isLink() - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
-
Is this entry a symbolic link?
- isLZMACompressionAvailable() - Static method in class org.apache.commons.compress.compressors.lzma.LZMAUtils
-
Are the classes required to support LZMA compression available?
- isMetaDataOnly() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
-
Does this volume only contain metadata?
- isNetwork() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Check if this entry represents a network device.
- isNewHeader() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
-
Is this the new header format? (We do not currently support the old format.)
- isNewInode() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
-
Is this the new inode format? (We do not currently support the old format.)
- ISO_8859_1 - Static variable in class org.apache.commons.compress.utils.CharsetNames
-
CharEncodingISO Latin Alphabet No.
- ISO_8859_1 - Static variable in class org.apache.commons.compress.utils.Charsets
-
Deprecated.replaced by
StandardCharsets
in Java 7 - isOldGNUSparse() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Indicate if this entry is a GNU or star sparse block using the oldgnu format.
- isOpen() - Method in class org.apache.commons.compress.utils.FixedLengthBlockOutputStream
- isOpen() - Method in class org.apache.commons.compress.utils.MultiReadOnlySeekableByteChannel
- isOpen() - Method in class org.apache.commons.compress.utils.SeekableInMemoryByteChannel
- isPaxGNUSparse() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Indicate if this entry is a GNU sparse block using one of the PAX formats.
- isPaxHeader() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Check if this is a Pax header.
- isPipe() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Check if this entry represents a pipe.
- isRegularFile() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Check if this entry represents a regular file.
- isSeekable() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
This method indicates whether this archive is writing to a seekable stream (i.e., to a random access file).
- isSocket() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Check if this entry represents a socket.
- isSocket() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Is this a network device?
- isSparse() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Check whether this is a sparse entry.
- isSparseRecord(int) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Is this a sparse record?
- isStarSparse() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Indicate if this entry is a star sparse block using PAX headers.
- isStreamContiguous() - Method in interface org.apache.commons.compress.archivers.EntryStreamOffsets
-
Indicates whether the stream is contiguous, i.e.
- isStreamContiguous() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
- isSymbolicLink() - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Check if this entry represents a symbolic link.
- isSymbolicLink() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Check if this is a symbolic link entry.
- isUnixSymlink() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Returns true if this entry represents a unix symlink, in which case the entry's content contains the target path for the symlink.
- isXZCompressionAvailable() - Static method in class org.apache.commons.compress.compressors.xz.XZUtils
-
Are the classes required to support XZ compression available?
- Iterators - Class in org.apache.commons.compress.utils
-
Iterator utilities.
- IWORK_ARCHIVE - org.apache.commons.compress.compressors.snappy.FramedSnappyDialect
-
The format used by Apple's iWork Archives (.iwa files).
J
- JAR - Static variable in class org.apache.commons.compress.archivers.ArchiveStreamFactory
-
Constant (value "jar") used to identify the JAR archive format.
- JarArchiveEntry - Class in org.apache.commons.compress.archivers.jar
- JarArchiveEntry(String) - Constructor for class org.apache.commons.compress.archivers.jar.JarArchiveEntry
- JarArchiveEntry(JarEntry) - Constructor for class org.apache.commons.compress.archivers.jar.JarArchiveEntry
- JarArchiveEntry(ZipEntry) - Constructor for class org.apache.commons.compress.archivers.jar.JarArchiveEntry
- JarArchiveEntry(ZipArchiveEntry) - Constructor for class org.apache.commons.compress.archivers.jar.JarArchiveEntry
- JarArchiveInputStream - Class in org.apache.commons.compress.archivers.jar
-
Implements an input stream that can read entries from jar files.
- JarArchiveInputStream(InputStream) - Constructor for class org.apache.commons.compress.archivers.jar.JarArchiveInputStream
-
Creates an instance from the input stream using the default encoding.
- JarArchiveInputStream(InputStream, String) - Constructor for class org.apache.commons.compress.archivers.jar.JarArchiveInputStream
-
Creates an instance from the input stream using the specified encoding.
- JarArchiveOutputStream - Class in org.apache.commons.compress.archivers.jar
-
Subclass that adds a special extra field to the very first entry which allows the created archive to be used as an executable jar on Solaris.
- JarArchiveOutputStream(OutputStream) - Constructor for class org.apache.commons.compress.archivers.jar.JarArchiveOutputStream
- JarArchiveOutputStream(OutputStream, String) - Constructor for class org.apache.commons.compress.archivers.jar.JarArchiveOutputStream
-
Create and instance that wraps the output stream using the provided encoding.
- JarMarker - Class in org.apache.commons.compress.archivers.zip
-
If this extra field is added as the very first extra field of the archive, Solaris will consider it an executable jar file.
- JarMarker() - Constructor for class org.apache.commons.compress.archivers.zip.JarMarker
-
No-arg constructor
- javaTimeToNtfsTime(Date) - Static method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Converts Java time to NTFS time.
- JPEG - org.apache.commons.compress.archivers.zip.ZipMethod
-
Compression Method 96 for Jpeg compression.
K
- K256 - org.apache.commons.compress.compressors.lz4.FramedLZ4CompressorOutputStream.BlockSize
-
Block size of 256K
- K64 - org.apache.commons.compress.compressors.lz4.FramedLZ4CompressorOutputStream.BlockSize
-
Block size of 64K
L
- LBLSIZE - Static variable in class org.apache.commons.compress.archivers.dump.DumpArchiveConstants
- LF_BLK - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
Block device file type.
- LF_CHR - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
Character device file type.
- LF_CONTIG - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
Contiguous file type.
- LF_DIR - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
Directory file type.
- LF_FIFO - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
FIFO (pipe) file type.
- LF_GNUTYPE_LONGLINK - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
Identifies the *next* file on the tape as having a long linkname.
- LF_GNUTYPE_LONGNAME - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
Identifies the *next* file on the tape as having a long name.
- LF_GNUTYPE_SPARSE - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
Sparse file type.
- LF_LINK - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
Link file type.
- LF_NORMAL - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
Normal file type.
- LF_OLDNORM - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
LF_ constants represent the "link flag" of an entry, or more commonly, the "entry type".
- LF_PAX_EXTENDED_HEADER_LC - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
Identifies the entry as a Pax extended header.
- LF_PAX_EXTENDED_HEADER_UC - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
Identifies the entry as a Pax extended header (SunOS tar -E).
- LF_PAX_GLOBAL_EXTENDED_HEADER - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
Identifies the entry as a Pax global extended header.
- LF_SYMLINK - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
Symbolic link file type.
- LFH_SIG - Static variable in class org.apache.commons.compress.archivers.zip.ZipLong
-
Local File Header Signature
- LINK - org.apache.commons.compress.archivers.dump.DumpArchiveEntry.TYPE
- LINK_FLAG - Static variable in interface org.apache.commons.compress.archivers.zip.UnixStat
-
Indicates symbolic links.
- Lister - Class in org.apache.commons.compress.archivers
-
Simple command line application that lists the contents of an archive.
- Lister() - Constructor for class org.apache.commons.compress.archivers.Lister
- Lists - Class in org.apache.commons.compress.utils
-
List utilities
- LITERAL - org.apache.commons.compress.compressors.lz77support.LZ77Compressor.Block.BlockType
- LiteralBlock(byte[], int, int) - Constructor for class org.apache.commons.compress.compressors.lz77support.LZ77Compressor.LiteralBlock
- LONGFILE_BSD - Static variable in class org.apache.commons.compress.archivers.ar.ArArchiveOutputStream
-
BSD ar extensions are used to store long file names in the archive.
- LONGFILE_ERROR - Static variable in class org.apache.commons.compress.archivers.ar.ArArchiveOutputStream
-
Fail if a long file name is required in the archive.
- LONGFILE_ERROR - Static variable in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
-
Fail if a long file name is required in the archive.
- LONGFILE_GNU - Static variable in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
-
GNU tar extensions are used to store long file names in the archive.
- LONGFILE_POSIX - Static variable in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
-
POSIX/PAX extensions are used to store long file names in the archive.
- LONGFILE_TRUNCATE - Static variable in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
-
Long paths will be truncated in the archive.
- LONGNAMESLEN_GNU - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The length of the long names field in an old GNU header buffer.
- LZ4_BLOCK - Static variable in class org.apache.commons.compress.compressors.CompressorStreamFactory
-
Constant (value "lz4-block") used to identify the block LZ4 compression method.
- LZ4_FRAMED - Static variable in class org.apache.commons.compress.compressors.CompressorStreamFactory
-
Constant (value "lz4-framed") used to identify the frame LZ4 compression method.
- LZ77Compressor - Class in org.apache.commons.compress.compressors.lz77support
-
Helper class for compression algorithms that use the ideas of LZ77.
- LZ77Compressor(Parameters, LZ77Compressor.Callback) - Constructor for class org.apache.commons.compress.compressors.lz77support.LZ77Compressor
-
Initializes a compressor with parameters and a callback.
- LZ77Compressor.BackReference - Class in org.apache.commons.compress.compressors.lz77support
-
Represents a back-reference.
- LZ77Compressor.Block - Class in org.apache.commons.compress.compressors.lz77support
-
Base class representing blocks the compressor may emit.
- LZ77Compressor.Block.BlockType - Enum in org.apache.commons.compress.compressors.lz77support
-
Enumeration of the block types the compressor may emit.
- LZ77Compressor.Callback - Interface in org.apache.commons.compress.compressors.lz77support
-
Callback invoked while the compressor processes data.
- LZ77Compressor.EOD - Class in org.apache.commons.compress.compressors.lz77support
-
A simple "we are done" marker.
- LZ77Compressor.LiteralBlock - Class in org.apache.commons.compress.compressors.lz77support
-
Represents a literal block of data.
- LZMA - org.apache.commons.compress.archivers.sevenz.SevenZMethod
-
LZMA - only supported when reading
- LZMA - org.apache.commons.compress.archivers.zip.ZipMethod
-
Compression Method 14 for LZMA.
- LZMA - Static variable in class org.apache.commons.compress.compressors.CompressorStreamFactory
-
Constant (value "lzma") used to identify the LZMA compression method.
- LZMA2 - org.apache.commons.compress.archivers.sevenz.SevenZMethod
-
LZMA2
- LZMACompressorInputStream - Class in org.apache.commons.compress.compressors.lzma
-
LZMA decompressor.
- LZMACompressorInputStream(InputStream) - Constructor for class org.apache.commons.compress.compressors.lzma.LZMACompressorInputStream
-
Creates a new input stream that decompresses LZMA-compressed data from the specified input stream.
- LZMACompressorInputStream(InputStream, int) - Constructor for class org.apache.commons.compress.compressors.lzma.LZMACompressorInputStream
-
Creates a new input stream that decompresses LZMA-compressed data from the specified input stream.
- LZMACompressorOutputStream - Class in org.apache.commons.compress.compressors.lzma
-
LZMA compressor.
- LZMACompressorOutputStream(OutputStream) - Constructor for class org.apache.commons.compress.compressors.lzma.LZMACompressorOutputStream
-
Creates a LZMA compressor.
- LZMAUtils - Class in org.apache.commons.compress.compressors.lzma
-
Utility code for the lzma compression format.
- LZO - org.apache.commons.compress.archivers.dump.DumpArchiveConstants.COMPRESSION_TYPE
- LZWInputStream - Class in org.apache.commons.compress.compressors.lzw
-
Generic LZW implementation.
- LZWInputStream(InputStream, ByteOrder) - Constructor for class org.apache.commons.compress.compressors.lzw.LZWInputStream
M
- M1 - org.apache.commons.compress.compressors.lz4.FramedLZ4CompressorOutputStream.BlockSize
-
Block size of 1M
- M4 - org.apache.commons.compress.compressors.lz4.FramedLZ4CompressorOutputStream.BlockSize
-
Block size of 4M
- MAC_OS - Static variable in class org.apache.commons.compress.archivers.arj.ArjArchiveEntry.HostOs
- 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.
- MAGIC_XSTAR - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The magix string used in the last four bytes of the header to identify the xstar format.
- 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
- main(String[]) - Static method in class org.apache.commons.compress.archivers.sevenz.CLI
- mark(int) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
-
Since we do not support marking just yet, we do nothing.
- mark(int) - Method in class org.apache.commons.compress.compressors.pack200.Pack200CompressorInputStream
- markSupported() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
-
Since we do not support marking just yet, we return false.
- markSupported() - Method in class org.apache.commons.compress.compressors.pack200.Pack200CompressorInputStream
- matchAsciiBuffer(String, byte[]) - Static method in class org.apache.commons.compress.utils.ArchiveUtils
-
Check if buffer contents matches Ascii String.
- matchAsciiBuffer(String, byte[], int, int) - 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 "!<arch>" followed by a single LF control character
- matches(byte[], int) - Static method in class org.apache.commons.compress.archivers.arj.ArjArchiveInputStream
-
Checks if the signature matches what is expected for an arj file.
- 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.dump.DumpArchiveInputStream
-
Look at the first few bytes of the file to decide if it's a dump archive.
- 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.sevenz.SevenZFile
-
Checks if the signature matches what is expected for a 7z 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.deflate.DeflateCompressorInputStream
-
Checks if the signature matches what is expected for a zlib / deflated file with the zlib header.
- matches(byte[], int) - Static method in class org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream
-
Checks if the signature matches what is expected for a .gz file.
- matches(byte[], int) - Static method in class org.apache.commons.compress.compressors.lz4.FramedLZ4CompressorInputStream
-
Checks if the signature matches what is expected for a .lz4 file.
- matches(byte[], int) - Static method in class org.apache.commons.compress.compressors.lzma.LZMACompressorInputStream
-
Checks if the signature matches what is expected for an lzma file.
- matches(byte[], int) - Static method in class org.apache.commons.compress.compressors.lzma.LZMAUtils
-
Checks if the signature matches what is expected for a .lzma file.
- matches(byte[], int) - Static method in class org.apache.commons.compress.compressors.pack200.Pack200CompressorInputStream
-
Checks if the signature matches what is expected for a pack200 file (0xCAFED00D).
- matches(byte[], int) - Static method in class org.apache.commons.compress.compressors.snappy.FramedSnappyCompressorInputStream
-
Checks if the signature matches what is expected for a .sz file.
- matches(byte[], int) - Static method in class org.apache.commons.compress.compressors.xz.XZCompressorInputStream
-
Checks if the signature matches what is expected for a .xz file.
- matches(byte[], int) - Static method in class org.apache.commons.compress.compressors.xz.XZUtils
-
Checks if the signature matches what is expected for a .xz file.
- matches(byte[], int) - Static method in class org.apache.commons.compress.compressors.z.ZCompressorInputStream
-
Checks if the signature matches what is expected for a Unix compress file.
- MAX_BLOCKSIZE - Static variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
The maximum supported blocksize
== 9
. - MAX_NAMELEN - Static variable in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Maximum length of a user's name in the tar file
- MAXID - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The maximum value of gid/uid in a tar archive which can be expressed in octal char notation (that's 7 sevens, octal).
- MAXSIZE - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The maximum size of a file in a tar archive which can be expressed in octal char notation (that's 11 sevens, octal).
- MD5 - org.apache.commons.compress.archivers.zip.PKWareExtraHeader.HashAlgorithm
- MemoryLimitException - Exception in org.apache.commons.compress
-
If a stream checks for estimated memory allocation, and the estimate goes above the memory limit, this is thrown.
- MemoryLimitException(long, int) - Constructor for exception org.apache.commons.compress.MemoryLimitException
- MemoryLimitException(long, int, Exception) - Constructor for exception org.apache.commons.compress.MemoryLimitException
- mergeCentralDirectoryData(ZipExtraField[]) - Static method in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils
-
Merges the central directory fields of the given ZipExtraFields.
- mergeLocalFileDataData(ZipExtraField[]) - Static method in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils
-
Merges the local file data fields of the given ZipExtraFields.
- METHOD - Static variable in class org.apache.commons.compress.archivers.zip.UnsupportedZipFeatureException.Feature
-
The entry used an unsupported compression method.
- MILLIS_PER_SECOND - Static variable in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Convert millis to seconds
- MIN_BLOCKSIZE - Static variable in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
-
The minimum supported blocksize
== 1
. - MODELEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The length of the mode field in a header buffer.
- MODIFY_TIME_BIT - Static variable in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
-
The bit set inside the flags by when the last modification time is present in this extra field.
- MODTIMELEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The length of the modification time field in a header buffer.
- MultiReadOnlySeekableByteChannel - Class in org.apache.commons.compress.utils
-
Read-Only Implementation of
SeekableByteChannel
that concatenates a collection of otherSeekableByteChannel
s. - MultiReadOnlySeekableByteChannel(List<SeekableByteChannel>) - Constructor for class org.apache.commons.compress.utils.MultiReadOnlySeekableByteChannel
-
Concatenates the given channels.
N
- NAME - org.apache.commons.compress.archivers.zip.ZipArchiveEntry.NameSource
-
The name has been read from the archive using the encoding of the archive specified when creating the
ZipArchiveInputStream
orZipFile
(defaults to the platform's default encoding). - NAME_WITH_EFS_FLAG - org.apache.commons.compress.archivers.zip.ZipArchiveEntry.NameSource
-
The name has been read from the archive and the archive specified the EFS flag which indicates the name has been encoded as UTF-8.
- NAMELEN - Static variable in class org.apache.commons.compress.archivers.dump.DumpArchiveConstants
- NAMELEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The length of the name field in a header buffer.
- Never - org.apache.commons.compress.archivers.zip.Zip64Mode
-
Don't use Zip64 extensions for any entries.
- NEVER - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.UnicodeExtraFieldPolicy
-
Never create Unicode extra fields.
- newArrayList() - Static method in class org.apache.commons.compress.utils.Lists
-
Creates a new
ArrayList
. - newArrayList(Iterator<? extends E>) - Static method in class org.apache.commons.compress.utils.Lists
-
Creates a new
ArrayList
filled with the contents of the giveniterator
. - newHashSet(E...) - Static method in class org.apache.commons.compress.utils.Sets
-
Creates a new HashSet filled with the given elements
- next() - Method in class org.apache.commons.compress.utils.ServiceLoaderIterator
- NEXT - Static variable in class org.apache.commons.compress.archivers.arj.ArjArchiveEntry.HostOs
- NFS_MAGIC - Static variable in class org.apache.commons.compress.archivers.dump.DumpArchiveConstants
- NONE - org.apache.commons.compress.archivers.zip.PKWareExtraHeader.HashAlgorithm
- normalize(File) - Static method in class org.apache.commons.compress.compressors.pack200.Pack200Utils
-
Normalizes a JAR archive in-place so it can be safely signed and packed.
- normalize(File, File) - Static method in class org.apache.commons.compress.compressors.pack200.Pack200Utils
-
Normalizes a JAR archive so it can be safely signed and packed.
- normalize(File, File, Map<String, String>) - Static method in class org.apache.commons.compress.compressors.pack200.Pack200Utils
-
Normalizes a JAR archive so it can be safely signed and packed.
- normalize(File, Map<String, String>) - Static method in class org.apache.commons.compress.compressors.pack200.Pack200Utils
-
Normalizes a JAR archive in-place so it can be safely signed and packed.
- NOT_ENCODEABLE - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.UnicodeExtraFieldPolicy
-
Create Unicode extra fields for file names that cannot be encoded using the specified encoding.
- ntfsTimeToJavaTime(long) - Static method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Converts NTFS time (100 nanosecond units since 1 January 1601) to Java time.
- NTREC - Static variable in class org.apache.commons.compress.archivers.dump.DumpArchiveConstants
- NULL_CONSUMER - Static variable in interface org.apache.commons.compress.archivers.examples.CloseableConsumer
-
Completely ignores the passed in Closeable.
O
- offset - Variable in exception org.apache.commons.compress.archivers.dump.InvalidFormatException
- OFFSET_UNKNOWN - Static variable in interface org.apache.commons.compress.archivers.EntryStreamOffsets
-
Special value indicating that the offset is unknown.
- OFFSETLEN_GNU - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The length of the multivolume start offset field in an old GNU header buffer.
- OFS_MAGIC - Static variable in class org.apache.commons.compress.archivers.dump.DumpArchiveConstants
- ONLY_PARSEABLE_LENIENT - org.apache.commons.compress.archivers.zip.ZipArchiveEntry.ExtraFieldParsingMode
-
Try to parse as many extra fields as possible and wrap unknown extra fields as well as supported extra fields that cannot be parsed in
UnrecognizedExtraField
. - ONLY_PARSEABLE_STRICT - org.apache.commons.compress.archivers.zip.ZipArchiveEntry.ExtraFieldParsingMode
-
Try to parse as many extra fields as possible and wrap unknown extra fields in
UnrecognizedExtraField
. - onUnparseableExtraField(byte[], int, int, boolean, int) - Method in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils.UnparseableExtraField
- onUnparseableExtraField(byte[], int, int, boolean, int) - Method in interface org.apache.commons.compress.archivers.zip.UnparseableExtraFieldBehavior
-
Decides what to do with extra field data that doesn't follow the recommended pattern.
- onUnparseableExtraField(byte[], int, int, boolean, int) - Method in enum org.apache.commons.compress.archivers.zip.ZipArchiveEntry.ExtraFieldParsingMode
- org.apache.commons.compress - package org.apache.commons.compress
- org.apache.commons.compress.archivers - package org.apache.commons.compress.archivers
-
Provides a unified API and factories for dealing with archives in different formats.
- org.apache.commons.compress.archivers.ar - package org.apache.commons.compress.archivers.ar
-
Provides stream classes for reading and writing archives using the AR format.
- org.apache.commons.compress.archivers.arj - package org.apache.commons.compress.archivers.arj
-
Provides stream classes for reading archives using the ARJ format.
- org.apache.commons.compress.archivers.cpio - package org.apache.commons.compress.archivers.cpio
-
Provides stream classes for reading and writing archives using the CPIO format.
- org.apache.commons.compress.archivers.dump - package org.apache.commons.compress.archivers.dump
-
This package provides stream classes for reading archives using the Unix DUMP format.
- org.apache.commons.compress.archivers.examples - package org.apache.commons.compress.archivers.examples
-
Contains example code that is not guaranteed to provide a stable API across releases of Commons Compress.
- org.apache.commons.compress.archivers.jar - package org.apache.commons.compress.archivers.jar
-
Provides stream classes for reading and writing archives using the ZIP format with some extensions for the special case of JAR archives.
- org.apache.commons.compress.archivers.sevenz - package org.apache.commons.compress.archivers.sevenz
-
Provides classes for reading and writing archives using the 7z format.
- org.apache.commons.compress.archivers.tar - package org.apache.commons.compress.archivers.tar
-
Provides stream classes for reading and writing archives using the TAR format.
- org.apache.commons.compress.archivers.zip - package org.apache.commons.compress.archivers.zip
-
Provides stream classes for reading and writing archives using the ZIP format.
- org.apache.commons.compress.changes - package org.apache.commons.compress.changes
-
EXPERIMENTAL support for changesets that are applied to archives.
- org.apache.commons.compress.compressors - package org.apache.commons.compress.compressors
-
Provides a unified API and factories for dealing with compressed streams.
- org.apache.commons.compress.compressors.bzip2 - package org.apache.commons.compress.compressors.bzip2
-
Provides stream classes for compressing and decompressing streams using the BZip2 algorithm.
- org.apache.commons.compress.compressors.deflate - package org.apache.commons.compress.compressors.deflate
-
Provides a stream classes that allow (de)compressing streams using the DEFLATE algorithm.
- org.apache.commons.compress.compressors.deflate64 - package org.apache.commons.compress.compressors.deflate64
-
Provides a stream that allows decompressing streams using the DEFLATE64(tm) algorithm.
- org.apache.commons.compress.compressors.gzip - package org.apache.commons.compress.compressors.gzip
-
Provides stream classes for compressing and decompressing streams using the GZip algorithm.
- org.apache.commons.compress.compressors.lz4 - package org.apache.commons.compress.compressors.lz4
-
Provides stream classes for the LZ4 algorithm.
- org.apache.commons.compress.compressors.lz77support - package org.apache.commons.compress.compressors.lz77support
-
Provides utility classes for LZ77 based algorithms.
- org.apache.commons.compress.compressors.lzma - package org.apache.commons.compress.compressors.lzma
-
Provides stream classes using the "stand-alone" LZMA algorithm.
- org.apache.commons.compress.compressors.lzw - package org.apache.commons.compress.compressors.lzw
-
Generic LZW implementation.
- org.apache.commons.compress.compressors.pack200 - package org.apache.commons.compress.compressors.pack200
-
Provides stream classes for compressing and decompressing streams using the Pack200 algorithm used to compress Java archives.
- org.apache.commons.compress.compressors.snappy - package org.apache.commons.compress.compressors.snappy
-
Provides stream classes for the Snappy algorithm.
- org.apache.commons.compress.compressors.xz - package org.apache.commons.compress.compressors.xz
-
Provides stream classes for compressing and decompressing streams using the XZ algorithm.
- org.apache.commons.compress.compressors.z - package org.apache.commons.compress.compressors.z
-
Provides stream classes for decompressing streams using the "compress" algorithm used to write .Z files.
- org.apache.commons.compress.parallel - package org.apache.commons.compress.parallel
-
Provides common API classes for parallel compression features.
- org.apache.commons.compress.utils - package org.apache.commons.compress.utils
-
Contains utilities used internally by the compress library.
- OS_2 - Static variable in class org.apache.commons.compress.archivers.arj.ArjArchiveEntry.HostOs
- OutputStreamByteConsumer(OutputStream) - Constructor for class org.apache.commons.compress.utils.ByteUtils.OutputStreamByteConsumer
P
- PACK200 - Static variable in class org.apache.commons.compress.compressors.CompressorStreamFactory
-
Constant (value "pack200") used to identify the PACK200 compression algorithm.
- Pack200CompressorInputStream - Class in org.apache.commons.compress.compressors.pack200
-
An input stream that decompresses from the Pack200 format to be read as any other stream.
- Pack200CompressorInputStream(File) - Constructor for class org.apache.commons.compress.compressors.pack200.Pack200CompressorInputStream
-
Decompresses the given file, caching the decompressed data in memory.
- Pack200CompressorInputStream(File, Map<String, String>) - Constructor for class org.apache.commons.compress.compressors.pack200.Pack200CompressorInputStream
-
Decompresses the given file, caching the decompressed data in memory and using the given properties.
- Pack200CompressorInputStream(File, Pack200Strategy) - Constructor for class org.apache.commons.compress.compressors.pack200.Pack200CompressorInputStream
-
Decompresses the given file using the given strategy to cache the results.
- Pack200CompressorInputStream(File, Pack200Strategy, Map<String, String>) - Constructor for class org.apache.commons.compress.compressors.pack200.Pack200CompressorInputStream
-
Decompresses the given file using the given strategy to cache the results and the given properties.
- Pack200CompressorInputStream(InputStream) - Constructor for class org.apache.commons.compress.compressors.pack200.Pack200CompressorInputStream
-
Decompresses the given stream, caching the decompressed data in memory.
- Pack200CompressorInputStream(InputStream, Map<String, String>) - Constructor for class org.apache.commons.compress.compressors.pack200.Pack200CompressorInputStream
-
Decompresses the given stream, caching the decompressed data in memory and using the given properties.
- Pack200CompressorInputStream(InputStream, Pack200Strategy) - Constructor for class org.apache.commons.compress.compressors.pack200.Pack200CompressorInputStream
-
Decompresses the given stream using the given strategy to cache the results.
- Pack200CompressorInputStream(InputStream, Pack200Strategy, Map<String, String>) - Constructor for class org.apache.commons.compress.compressors.pack200.Pack200CompressorInputStream
-
Decompresses the given stream using the given strategy to cache the results and the given properties.
- Pack200CompressorOutputStream - Class in org.apache.commons.compress.compressors.pack200
-
An output stream that compresses using the Pack200 format.
- Pack200CompressorOutputStream(OutputStream) - Constructor for class org.apache.commons.compress.compressors.pack200.Pack200CompressorOutputStream
-
Compresses the given stream, caching the compressed data in memory.
- Pack200CompressorOutputStream(OutputStream, Map<String, String>) - Constructor for class org.apache.commons.compress.compressors.pack200.Pack200CompressorOutputStream
-
Compresses the given stream, caching the compressed data in memory and using the given properties.
- Pack200CompressorOutputStream(OutputStream, Pack200Strategy) - Constructor for class org.apache.commons.compress.compressors.pack200.Pack200CompressorOutputStream
-
Compresses the given stream using the given strategy to cache the results.
- Pack200CompressorOutputStream(OutputStream, Pack200Strategy, Map<String, String>) - Constructor for class org.apache.commons.compress.compressors.pack200.Pack200CompressorOutputStream
-
Compresses the given stream using the given strategy to cache the results and the given properties.
- Pack200Strategy - Enum in org.apache.commons.compress.compressors.pack200
-
The different modes the Pack200 streams can use to wrap input and output.
- Pack200Utils - Class in org.apache.commons.compress.compressors.pack200
-
Utility methods for Pack200.
- PAD2LEN_GNU - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The length of the padding field in an old GNU header buffer.
- ParallelScatterZipCreator - Class in org.apache.commons.compress.archivers.zip
-
Creates a zip in parallel by using multiple threadlocal
ScatterZipOutputStream
instances. - ParallelScatterZipCreator() - Constructor for class org.apache.commons.compress.archivers.zip.ParallelScatterZipCreator
-
Create a ParallelScatterZipCreator with default threads, which is set to the number of available processors, as defined by
Runtime.availableProcessors()
- ParallelScatterZipCreator(ExecutorService) - Constructor for class org.apache.commons.compress.archivers.zip.ParallelScatterZipCreator
-
Create a ParallelScatterZipCreator
- ParallelScatterZipCreator(ExecutorService, ScatterGatherBackingStoreSupplier) - Constructor for class org.apache.commons.compress.archivers.zip.ParallelScatterZipCreator
-
Create a ParallelScatterZipCreator
- Parameters - Class in org.apache.commons.compress.compressors.lz77support
-
Parameters of the
compressor
. - Parameters(FramedLZ4CompressorOutputStream.BlockSize) - Constructor for class org.apache.commons.compress.compressors.lz4.FramedLZ4CompressorOutputStream.Parameters
-
Sets up custom a custom block size for the LZ4 stream but otherwise uses the defaults of enabled content checksum, disabled block checksums and independent blocks.
- Parameters(FramedLZ4CompressorOutputStream.BlockSize, boolean, boolean, boolean) - Constructor for class org.apache.commons.compress.compressors.lz4.FramedLZ4CompressorOutputStream.Parameters
-
Sets up custom parameters for the LZ4 stream.
- Parameters(FramedLZ4CompressorOutputStream.BlockSize, boolean, boolean, boolean, Parameters) - Constructor for class org.apache.commons.compress.compressors.lz4.FramedLZ4CompressorOutputStream.Parameters
-
Sets up custom parameters for the LZ4 stream.
- Parameters(FramedLZ4CompressorOutputStream.BlockSize, Parameters) - Constructor for class org.apache.commons.compress.compressors.lz4.FramedLZ4CompressorOutputStream.Parameters
-
Sets up custom a custom block size for the LZ4 stream but otherwise uses the defaults of enabled content checksum, disabled block checksums and independent blocks.
- Parameters.Builder - Class in org.apache.commons.compress.compressors.lz77support
-
Builder for
Parameters
instances. - 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, ExtraFieldParsingBehavior) - 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[], boolean, ExtraFieldUtils.UnparseableExtraField) - Static method in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils
-
Split the array into ExtraFields and populate them with the given data.
- parse(byte[], int) - Static method in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
-
Parses the supported flags from the given archive data.
- parseBoolean(byte[], int) - Static method in class org.apache.commons.compress.archivers.tar.TarUtils
-
Parse a boolean byte from a buffer.
- parseCentralDirectoryFormat(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.X0017_StrongEncryptionHeader
-
Parse central directory format.
- parseFileFormat(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.X0017_StrongEncryptionHeader
-
Parse file header format.
- 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.PKWareExtraHeader
- parseFromCentralDirectoryData(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.ResourceAlignmentExtraField
- parseFromCentralDirectoryData(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.UnparseableExtraFieldData
-
Populate data from this array as if it was in central directory data.
- parseFromCentralDirectoryData(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
- parseFromCentralDirectoryData(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.X000A_NTFS
-
Doesn't do anything special since this class always uses the same parsing logic for both central directory and local file data.
- parseFromCentralDirectoryData(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.X0015_CertificateIdForFile
- parseFromCentralDirectoryData(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.X0016_CertificateIdForCentralDirectory
- parseFromCentralDirectoryData(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.X0017_StrongEncryptionHeader
- parseFromCentralDirectoryData(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
-
Doesn't do anything special since this class always uses the same parsing logic for both central directory and local file data.
- parseFromCentralDirectoryData(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.X7875_NewUnix
-
Doesn't do anything since this class doesn't store anything inside the central directory.
- parseFromCentralDirectoryData(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
- 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
- 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.PKWareExtraHeader
- parseFromLocalFileData(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.ResourceAlignmentExtraField
- parseFromLocalFileData(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.UnparseableExtraFieldData
-
Populate data from this array as if it was in local file data.
- parseFromLocalFileData(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
- parseFromLocalFileData(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.X000A_NTFS
-
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.X0017_StrongEncryptionHeader
- parseFromLocalFileData(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
-
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.X7875_NewUnix
-
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.Zip64ExtendedInformationExtraField
- 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.
- parseName(byte[], int, int, ZipEncoding) - 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.
- parseOctalOrBinary(byte[], int, int) - Static method in class org.apache.commons.compress.archivers.tar.TarUtils
-
Compute the value contained in a byte buffer.
- parseTarHeader(byte[]) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Parse an entry's header information from a header buffer.
- parseTarHeader(byte[], ZipEncoding) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Parse an entry's header information from a header buffer.
- PasswordRequiredException - Exception in org.apache.commons.compress
-
Exception thrown when trying to read an encrypted entry or file without configuring a password.
- PasswordRequiredException(String) - Constructor for exception org.apache.commons.compress.PasswordRequiredException
-
Create a new exception.
- 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.
- perform(ZipFile, ArchiveOutputStream) - Method in class org.apache.commons.compress.changes.ChangeSetPerformer
-
Performs all changes collected in this ChangeSet on the ZipFile and streams the result to the output stream.
- PERM_MASK - Static variable in interface org.apache.commons.compress.archivers.zip.UnixStat
-
Bits used for permissions (and sticky bit)
- PKWARE_IMPLODING - org.apache.commons.compress.archivers.zip.ZipMethod
-
PKWARE Data Compression Library Imploding.
- PKWareExtraHeader - Class in org.apache.commons.compress.archivers.zip
-
Base class for all PKWare strong crypto extra headers.
- PKWareExtraHeader(ZipShort) - Constructor for class org.apache.commons.compress.archivers.zip.PKWareExtraHeader
- PKWareExtraHeader.EncryptionAlgorithm - Enum in org.apache.commons.compress.archivers.zip
-
Encryption algorithm.
- PKWareExtraHeader.HashAlgorithm - Enum in org.apache.commons.compress.archivers.zip
-
Hash Algorithm
- 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
- position() - Method in class org.apache.commons.compress.utils.MultiReadOnlySeekableByteChannel
- position() - Method in class org.apache.commons.compress.utils.SeekableInMemoryByteChannel
- position(long) - Method in class org.apache.commons.compress.utils.MultiReadOnlySeekableByteChannel
- position(long) - Method in class org.apache.commons.compress.utils.SeekableInMemoryByteChannel
- PPMD - org.apache.commons.compress.archivers.zip.ZipMethod
-
Compression Method 98 for PPMd.
- prefill(byte[]) - Method in class org.apache.commons.compress.compressors.lz77support.AbstractLZ77CompressorInputStream
-
Adds some initial data to fill the window with.
- prefill(byte[]) - Method in class org.apache.commons.compress.compressors.lz77support.LZ77Compressor
-
Adds some initial data to fill the window with.
- prefill(byte[], int, int) - Method in class org.apache.commons.compress.compressors.lz4.BlockLZ4CompressorOutputStream
-
Adds some initial data to fill the window with.
- PREFIXLEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
Length of the prefix field.
- PREFIXLEN_XSTAR - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
Length of the prefix field in xstar archives.
- PRIMOS - Static variable in class org.apache.commons.compress.archivers.arj.ArjArchiveEntry.HostOs
- pushedBackBytes(long) - Method in class org.apache.commons.compress.archivers.ArchiveInputStream
-
Decrements the counter of already read bytes.
- pushedBackBytes(long) - Method in class org.apache.commons.compress.compressors.CompressorInputStream
-
Decrements the counter of already read bytes.
- putArchiveEntry(ArchiveEntry) - Method in class org.apache.commons.compress.archivers.ar.ArArchiveOutputStream
- 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.sevenz.SevenZOutputFile
-
Records an archive entry to add.
- 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.
- putLong(byte[], int) - Method in class org.apache.commons.compress.archivers.zip.ZipLong
- putLong(long, byte[], int) - Static method in class org.apache.commons.compress.archivers.zip.ZipLong
-
put the value as four bytes in big endian byte order.
- putShort(int, byte[], int) - Static method in class org.apache.commons.compress.archivers.zip.ZipShort
-
put the value as two bytes in big endian byte order.
R
- raw - Variable in class org.apache.commons.compress.archivers.dump.DumpArchiveInputStream
- RC2 - org.apache.commons.compress.archivers.zip.PKWareExtraHeader.EncryptionAlgorithm
- RC2pre52 - org.apache.commons.compress.archivers.zip.PKWareExtraHeader.EncryptionAlgorithm
- RC4 - org.apache.commons.compress.archivers.zip.PKWareExtraHeader.EncryptionAlgorithm
- read() - Method in class org.apache.commons.compress.archivers.ArchiveInputStream
-
Reads a byte of data.
- read() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZFile
-
Reads a byte of data.
- read() - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
- read() - Method in class org.apache.commons.compress.compressors.deflate.DeflateCompressorInputStream
- read() - Method in class org.apache.commons.compress.compressors.deflate64.Deflate64CompressorInputStream
- read() - Method in class org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream
- read() - Method in class org.apache.commons.compress.compressors.lz4.FramedLZ4CompressorInputStream
- read() - Method in class org.apache.commons.compress.compressors.lz77support.AbstractLZ77CompressorInputStream
- read() - Method in class org.apache.commons.compress.compressors.lzma.LZMACompressorInputStream
- read() - Method in class org.apache.commons.compress.compressors.lzw.LZWInputStream
- read() - Method in class org.apache.commons.compress.compressors.pack200.Pack200CompressorInputStream
- read() - Method in class org.apache.commons.compress.compressors.snappy.FramedSnappyCompressorInputStream
- read() - Method in class org.apache.commons.compress.compressors.xz.XZCompressorInputStream
- read() - Method in class org.apache.commons.compress.utils.BoundedInputStream
- read() - Method in class org.apache.commons.compress.utils.ChecksumCalculatingInputStream
-
Reads a single byte from the stream
- read() - Method in class org.apache.commons.compress.utils.ChecksumVerifyingInputStream
-
Reads a single byte from the stream
- read() - Method in class org.apache.commons.compress.utils.CountingInputStream
- read(byte[]) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZFile
-
Reads data into an array of bytes.
- read(byte[]) - Method in class org.apache.commons.compress.compressors.pack200.Pack200CompressorInputStream
- read(byte[]) - Method in class org.apache.commons.compress.utils.ChecksumCalculatingInputStream
-
Reads a byte array from the stream
- read(byte[]) - Method in class org.apache.commons.compress.utils.ChecksumVerifyingInputStream
-
Reads a byte array from the stream
- read(byte[]) - Method in class org.apache.commons.compress.utils.CountingInputStream
- read(byte[], int, int) - Method in class org.apache.commons.compress.archivers.ar.ArArchiveInputStream
- read(byte[], int, int) - Method in class org.apache.commons.compress.archivers.arj.ArjArchiveInputStream
- read(byte[], int, int) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveInputStream
-
Reads from the current CPIO entry into an array of bytes.
- read(byte[], int, int) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveInputStream
-
Reads bytes from the current dump archive entry.
- read(byte[], int, int) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZFile
-
Reads data into an array of bytes.
- read(byte[], int, int) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
-
Reads bytes from the current tar archive entry.
- read(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
- read(byte[], int, int) - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream
- read(byte[], int, int) - Method in class org.apache.commons.compress.compressors.deflate.DeflateCompressorInputStream
- read(byte[], int, int) - Method in class org.apache.commons.compress.compressors.deflate64.Deflate64CompressorInputStream
- read(byte[], int, int) - Method in class org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream
- read(byte[], int, int) - Method in class org.apache.commons.compress.compressors.lz4.BlockLZ4CompressorInputStream
- read(byte[], int, int) - Method in class org.apache.commons.compress.compressors.lz4.FramedLZ4CompressorInputStream
- read(byte[], int, int) - Method in class org.apache.commons.compress.compressors.lzma.LZMACompressorInputStream
- read(byte[], int, int) - Method in class org.apache.commons.compress.compressors.lzw.LZWInputStream
- read(byte[], int, int) - Method in class org.apache.commons.compress.compressors.pack200.Pack200CompressorInputStream
- read(byte[], int, int) - Method in class org.apache.commons.compress.compressors.snappy.FramedSnappyCompressorInputStream
- read(byte[], int, int) - Method in class org.apache.commons.compress.compressors.snappy.SnappyCompressorInputStream
- read(byte[], int, int) - Method in class org.apache.commons.compress.compressors.xz.XZCompressorInputStream
- read(byte[], int, int) - Method in class org.apache.commons.compress.utils.BoundedInputStream
- read(byte[], int, int) - Method in class org.apache.commons.compress.utils.ChecksumCalculatingInputStream
-
Reads from the stream into a byte array.
- read(byte[], int, int) - Method in class org.apache.commons.compress.utils.ChecksumVerifyingInputStream
-
Reads from the stream into a byte array.
- read(byte[], int, int) - Method in class org.apache.commons.compress.utils.CountingInputStream
- read(ByteBuffer) - Method in class org.apache.commons.compress.utils.MultiReadOnlySeekableByteChannel
- read(ByteBuffer) - Method in class org.apache.commons.compress.utils.SeekableInMemoryByteChannel
- READ - Static variable in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils.UnparseableExtraField
-
Read the extra field data into an instance of
UnparseableExtraFieldData
. - READ_KEY - Static variable in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils.UnparseableExtraField
-
Key for "read" action.
- readBackReference(byte[], int, int) - Method in class org.apache.commons.compress.compressors.lz77support.AbstractLZ77CompressorInputStream
-
Reads data from the current back-reference.
- readBits(int) - Method in class org.apache.commons.compress.utils.BitInputStream
-
Returns at most 63 bits read from the underlying stream.
- readFully(InputStream, byte[]) - Static method in class org.apache.commons.compress.utils.IOUtils
-
Reads as much from input as possible to fill the given array.
- readFully(InputStream, byte[], int, int) - Static method in class org.apache.commons.compress.utils.IOUtils
-
Reads as much from input as possible to fill the given array with the given amount of bytes.
- readFully(ReadableByteChannel, ByteBuffer) - Static method in class org.apache.commons.compress.utils.IOUtils
-
Reads
b.remaining()
bytes from the given channel starting at the current channel's position. - readLiteral(byte[], int, int) - Method in class org.apache.commons.compress.compressors.lz77support.AbstractLZ77CompressorInputStream
-
Reads data from the current literal block.
- readNextCode() - Method in class org.apache.commons.compress.compressors.lzw.LZWInputStream
-
Reads the next code from the stream.
- readNextCode() - Method in class org.apache.commons.compress.compressors.z.ZCompressorInputStream
-
Reads the next code from the stream.
- readOneByte() - Method in class org.apache.commons.compress.compressors.lz77support.AbstractLZ77CompressorInputStream
-
Reads a single byte from the real input stream and ensures the data is accounted for.
- readRecord() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
-
Read a record from the input stream and return the data.
- REALSIZELEN_GNU - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The length of the real size field in an old GNU header buffer.
- register(Class<?>) - Static method in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils
-
Register a ZipExtraField implementation.
- remove() - Method in class org.apache.commons.compress.utils.ServiceLoaderIterator
- removeExtraField(ZipShort) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Remove an extra field.
- removeUnparseableExtraFieldData() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Removes unparseable extra field data.
- reparseCentralDirectoryData(boolean, boolean, boolean, boolean) - Method in class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
-
Parses the raw bytes read from the central directory extra field with knowledge which fields are expected to be there.
- reset() - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
-
Since we do not support marking just yet, we do nothing.
- reset() - Method in class org.apache.commons.compress.compressors.lz4.XXHash32
- reset() - Method in class org.apache.commons.compress.compressors.pack200.Pack200CompressorInputStream
- resetCodeSize() - Method in class org.apache.commons.compress.compressors.lzw.LZWInputStream
- resetPreviousCode() - Method in class org.apache.commons.compress.compressors.lzw.LZWInputStream
- ResourceAlignmentExtraField - Class in org.apache.commons.compress.archivers.zip
-
An extra field who's sole purpose is to align and pad the local file header so that the entry's data starts at a certain position.
- ResourceAlignmentExtraField() - Constructor for class org.apache.commons.compress.archivers.zip.ResourceAlignmentExtraField
- ResourceAlignmentExtraField(int) - Constructor for class org.apache.commons.compress.archivers.zip.ResourceAlignmentExtraField
- ResourceAlignmentExtraField(int, boolean) - Constructor for class org.apache.commons.compress.archivers.zip.ResourceAlignmentExtraField
- ResourceAlignmentExtraField(int, boolean, int) - Constructor for class org.apache.commons.compress.archivers.zip.ResourceAlignmentExtraField
- reverse(byte[]) - Static method in class org.apache.commons.compress.archivers.zip.ZipUtil
-
Reverses a byte[] array.
- RIPEND160 - org.apache.commons.compress.archivers.zip.PKWareExtraHeader.HashAlgorithm
S
- S_IFMT - Static variable in interface org.apache.commons.compress.archivers.cpio.CpioConstants
-
Mask for all file type bits.
- sanitize(String) - Static method in class org.apache.commons.compress.utils.ArchiveUtils
-
Returns a "sanitized" version of the string given as arguments, where sanitized means non-printable characters have been replaced with a question mark and the outcome is not longer than 255 chars.
- ScatterGatherBackingStore - Interface in org.apache.commons.compress.parallel
-
Store intermediate payload in a scatter-gather scenario.
- ScatterGatherBackingStoreSupplier - Interface in org.apache.commons.compress.parallel
-
Supplies
ScatterGatherBackingStore
instances. - ScatterStatistics - Class in org.apache.commons.compress.archivers.zip
-
Provides information about a scatter compression run.
- ScatterZipOutputStream - Class in org.apache.commons.compress.archivers.zip
-
A zip output stream that is optimized for multi-threaded scatter/gather construction of zip files.
- ScatterZipOutputStream(ScatterGatherBackingStore, StreamCompressor) - Constructor for class org.apache.commons.compress.archivers.zip.ScatterZipOutputStream
- ScatterZipOutputStream.ZipEntryWriter - Class in org.apache.commons.compress.archivers.zip
- SeekableInMemoryByteChannel - Class in org.apache.commons.compress.utils
-
A
SeekableByteChannel
implementation that wraps a byte[]. - SeekableInMemoryByteChannel() - Constructor for class org.apache.commons.compress.utils.SeekableInMemoryByteChannel
-
Parameterless constructor - allocates internal buffer by itself.
- SeekableInMemoryByteChannel(byte[]) - Constructor for class org.apache.commons.compress.utils.SeekableInMemoryByteChannel
-
Constructor taking a byte array.
- SeekableInMemoryByteChannel(int) - Constructor for class org.apache.commons.compress.utils.SeekableInMemoryByteChannel
-
Constructor taking a size of storage to be allocated.
- ServiceLoaderIterator<E> - Class in org.apache.commons.compress.utils
-
Iterates all services for a given class through the standard
ServiceLoader
mechanism. - ServiceLoaderIterator(Class<E>) - Constructor for class org.apache.commons.compress.utils.ServiceLoaderIterator
- ServiceLoaderIterator(Class<E>, ClassLoader) - Constructor for class org.apache.commons.compress.utils.ServiceLoaderIterator
- setAccessDate(long) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Sets the access date using NTFS time (100 nanosecond units since 1 January 1601)
- setAccessDate(Date) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Sets the access date,
- setAccessJavaTime(Date) - Method in class org.apache.commons.compress.archivers.zip.X000A_NTFS
-
Sets the access time as a java.util.Date of this zip entry.
- setAccessJavaTime(Date) - Method in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
-
Sets the access time as a java.util.Date of this zip entry.
- setAccessTime(Date) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Set the time the file was last accessed.
- setAccessTime(ZipEightByteInteger) - Method in class org.apache.commons.compress.archivers.zip.X000A_NTFS
-
Sets the File last access time of this zip entry using a ZipEightByteInteger object.
- setAccessTime(ZipLong) - Method in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
-
Sets the access time (seconds since epoch) of this zip entry using a ZipLong object
- setAddPaxHeadersForNonAsciiNames(boolean) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
-
Whether to add a PAX extension header for non-ASCII file names.
- setAlignment(int) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Sets alignment for this entry.
- setAntiItem(boolean) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Sets whether this is an "anti-item" used in differential backups, meaning it should delete the same file from a previous backup.
- setAtEOF(boolean) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
- setBigNumberMode(int) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
-
Set the big number mode.
- setCacheLZMAAvailablity(boolean) - Static method in class org.apache.commons.compress.compressors.lzma.LZMAUtils
-
Whether to cache the result of the LZMA check.
- setCacheXZAvailablity(boolean) - Static method in class org.apache.commons.compress.compressors.xz.XZUtils
-
Whether to cache the result of the XZ for Java check.
- setCentralDirectoryData(byte[]) - Method in class org.apache.commons.compress.archivers.zip.PKWareExtraHeader
-
Set the extra field data in central directory.
- 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.
- setClearCode(int) - Method in class org.apache.commons.compress.compressors.lzw.LZWInputStream
-
Sets the clear code based on the code size.
- setCodeSize(int) - Method in class org.apache.commons.compress.compressors.lzw.LZWInputStream
- setComment(String) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Set the file comment.
- setComment(String) - Method in class org.apache.commons.compress.compressors.gzip.GzipParameters
- setCommentSource(ZipArchiveEntry.CommentSource) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Sets the source of the comment field value.
- setCompressedSize(ZipEightByteInteger) - Method in class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
-
The uncompressed size stored in this extra field.
- setCompressionLevel(int) - Method in class org.apache.commons.compress.compressors.deflate.DeflateParameters
-
Sets the compression level.
- setCompressionLevel(int) - Method in class org.apache.commons.compress.compressors.gzip.GzipParameters
-
Sets the compression level.
- setContentCompression(SevenZMethod) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZOutputFile
-
Sets the default compression method to use for entry contents - the default is LZMA2.
- setContentMethods(Iterable<? extends SevenZMethodConfiguration>) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Sets the (compression) methods to use for entry's content - the default is LZMA2.
- setContentMethods(Iterable<? extends SevenZMethodConfiguration>) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZOutputFile
-
Sets the default (compression) methods to use for entry contents - the default is LZMA2.
- setCrc(int) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Deprecated.use setCrcValue instead.
- setCrcValue(long) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Sets the CRC.
- setCreateJavaTime(Date) - Method in class org.apache.commons.compress.archivers.zip.X000A_NTFS
-
Sets the create time as a java.util.Date of this zip entry.
- setCreateJavaTime(Date) - Method in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
-
Sets the create time as a java.util.Date of this zip entry.
- setCreateTime(ZipEightByteInteger) - Method in class org.apache.commons.compress.archivers.zip.X000A_NTFS
-
Sets the File creation time of this zip entry using a ZipEightByteInteger object.
- setCreateTime(ZipLong) - Method in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
-
Sets the create time (seconds since epoch) of this zip entry using a ZipLong object
- setCreateUnicodeExtraFields(ZipArchiveOutputStream.UnicodeExtraFieldPolicy) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Whether to create Unicode Extra Fields.
- setCreationDate(long) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Sets the creation date using NTFS time (100 nanosecond units since 1 January 1601)
- setCreationDate(Date) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Sets the creation date,
- setCreationTime(Date) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Set the file creation time.
- setCurrentEntry(TarArchiveEntry) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
- setDataOffset(long) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Sets the data offset.
- setDecompressConcatenated(boolean) - Method in class org.apache.commons.compress.compressors.CompressorStreamFactory
-
Deprecated.1.10 use the
CompressorStreamFactory(boolean)
constructor instead - setDeleted(boolean) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Set whether this file has been deleted.
- 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
- setDevMajor(int) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Set this entry's major device number.
- setDevMinor(int) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Set this entry's minor device number.
- setDevname(String) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
-
Set the device name.
- setDirectory(boolean) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Sets whether or not this entry represents a directory.
- setDirectory(boolean) - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
-
Indicate whether this entry is a directory.
- setDiskStartNumber(ZipLong) - Method in class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
-
The disk start number stored in this extra field.
- setDumpDate(Date) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
-
Set dump date.
- setEncoding(String) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
The encoding to use for file names and the file comment.
- setEntryEncoding(String) - Method in class org.apache.commons.compress.archivers.ArchiveStreamFactory
-
Deprecated.1.10 use
ArchiveStreamFactory(String)
to specify the encoding - setExternalAttributes(long) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Sets the external file attributes.
- 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. - setExtra(byte[]) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Parses the given bytes as extra field data and consumes any unparseable data as an
UnparseableExtraFieldData
instance. - 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.
- setFilename(String) - Method in class org.apache.commons.compress.compressors.gzip.GzipParameters
-
Sets the name of the compressed file.
- setFilesystem(String) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
-
Set the last mountpoint.
- setFirstRecord(int) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
-
Set the inode of the first record.
- setFlags(byte) - Method in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
-
Sets flags byte.
- setFlags(int) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
-
Set the miscellaneous flags.
- setGeneralPurposeBit(GeneralPurposeBit) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
The "general purpose bit" field.
- setGeneration(int) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Set the generation of the file.
- setGID(long) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Set the group id.
- setGID(long) - Method in class org.apache.commons.compress.archivers.zip.X7875_NewUnix
-
Sets the GID.
- setGroupId(int) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Set the group id.
- setGroupId(int) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Set this entry's group id.
- setGroupId(int) - Method in class org.apache.commons.compress.archivers.zip.AsiExtraField
-
Set the group id.
- setGroupId(long) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Set this entry's group id.
- setGroupName(String) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Set this entry's group name.
- SETGUI - org.apache.commons.compress.archivers.dump.DumpArchiveEntry.PERMISSION
- setHasAccessDate(boolean) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Sets whether this entry has got an access date at all.
- setHasCrc(boolean) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Sets whether this entry has got a crc.
- setHasCreationDate(boolean) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Sets whether this entry has got a creation date at all.
- setHasLastModifiedDate(boolean) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Sets whether this entry has got a last modified date at all.
- setHasStream(boolean) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Sets whether there is any content associated with this entry.
- setHasWindowsAttributes(boolean) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Sets whether this entry has windows attributes.
- setHeaderId(ZipShort) - Method in class org.apache.commons.compress.archivers.zip.UnrecognizedExtraField
-
Set the header id.
- setHostname(String) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
-
Set the hostname.
- 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.
- setLabel(String) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
-
Set dump label.
- setLastModifiedDate(long) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Sets the last modified date using NTFS time (100 nanosecond units since 1 January 1601)
- setLastModifiedDate(Date) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Set the time the file was last modified.
- setLastModifiedDate(Date) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Sets the last modified date,
- setLevel(int) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
-
Set level.
- 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 file name.
- 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.PKWareExtraHeader
-
Set the extra field data in the local file data - without Header-ID or length specifier.
- 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.
- setLocalHeaderOffset(long) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
- setLongFileMode(int) - Method in class org.apache.commons.compress.archivers.ar.ArArchiveOutputStream
-
Set the long file mode.
- setLongFileMode(int) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
-
Set the long file mode.
- setMethod(int) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Sets the compression method of this entry.
- setMethod(int) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Sets the default compression method for subsequent entries.
- setMode(int) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Set the access permissions on the entry.
- 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.
- setMode(long) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Set the mode of this entry (e.g.
- setModificationTime(long) - Method in class org.apache.commons.compress.compressors.gzip.GzipParameters
-
Sets the modification time of the compressed file.
- setModifyJavaTime(Date) - Method in class org.apache.commons.compress.archivers.zip.X000A_NTFS
-
Sets the modify time as a java.util.Date of this zip entry.
- setModifyJavaTime(Date) - Method in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
-
Sets the modify time as a java.util.Date of this zip entry.
- setModifyTime(ZipEightByteInteger) - Method in class org.apache.commons.compress.archivers.zip.X000A_NTFS
-
Sets the File last modification time of this zip entry using a ZipEightByteInteger object.
- setModifyTime(ZipLong) - Method in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
-
Sets the modify time (seconds since epoch) of this zip entry using a ZipLong object.
- 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.dump.DumpArchiveEntry
-
Sets the name of the entry.
- setName(String) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Set this entry's name.
- setName(String) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Set this entry's name.
- setName(String) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Set the name of the entry.
- setName(String, byte[]) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Sets the name using the raw bytes and the string created from it by guessing or using the configured encoding.
- setNameCRC32(long) - Method in class org.apache.commons.compress.archivers.zip.AbstractUnicodeExtraField
- setNames(String, String) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Convenience method to set this entry's group and user names.
- setNameSource(ZipArchiveEntry.NameSource) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Sets the source of the name field value.
- setNlink(int) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Set the number of hard links.
- setNTRec(int) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
-
Set the number of records per tape block.
- setNumberOfLinks(long) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Set the number of links.
- setOffset(long) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Set the offset within the archive.
- setOperatingSystem(int) - Method in class org.apache.commons.compress.compressors.gzip.GzipParameters
-
Sets the operating system on which the compression took place.
- setPlatform(int) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Set the platform (UNIX or FAT).
- setPrefix(int, int) - Method in class org.apache.commons.compress.compressors.lzw.LZWInputStream
- setPreviousDumpDate(Date) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
-
Set previous dump date.
- setRawFlag(int) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Sets the content of the flags field.
- setRelativeHeaderOffset(ZipEightByteInteger) - Method in class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
-
The relative header offset stored in this extra field.
- 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.
- Sets - Class in org.apache.commons.compress.utils
-
Set utilities
- setSimpleName(String) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Sets the path of the entry.
- 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.dump.DumpArchiveEntry
-
Set the size of the entry.
- setSize(long) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Set this entry's file size.
- setSize(long) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Set this entry's file size.
- setSize(long) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Sets the uncompressed size of the entry data.
- setSize(ZipEightByteInteger) - Method in class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
-
The uncompressed size stored in this extra field.
- setStreamContiguous(boolean) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
- setTableSize(int) - Method in class org.apache.commons.compress.compressors.lzw.LZWInputStream
- setTime(long) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Set the time in seconds.
- setType(DumpArchiveEntry.TYPE) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Set the type of the entry.
- setUID(long) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveEntry
-
Set the user id.
- setUID(long) - Method in class org.apache.commons.compress.archivers.zip.X7875_NewUnix
-
Sets the UID.
- SETUID - org.apache.commons.compress.archivers.dump.DumpArchiveEntry.PERMISSION
- setUnicodeName(byte[]) - Method in class org.apache.commons.compress.archivers.zip.AbstractUnicodeExtraField
- setUnixMode(int) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Sets Unix permissions in a way that is understood by Info-Zip's unzip command.
- setUseLanguageEncodingFlag(boolean) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Whether to set the language encoding flag if the file name encoding is UTF-8.
- setUserId(int) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Set the user id.
- 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.
- setUserId(long) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Set this entry's user id.
- setUserName(String) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Set this entry's user name.
- setUseZip64(Zip64Mode) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Whether Zip64 extensions will be used.
- setVersionMadeBy(int) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Sets the "version made by" field.
- setVersionRequired(int) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveEntry
-
Sets the "version required to expand" field.
- setVolume(int) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
-
Set the tape volume.
- setVolume(int) - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveSummary
-
Set volume (tape) number.
- setWindowsAttributes(int) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
-
Sets the windows attributes.
- setWithZlibHeader(boolean) - Method in class org.apache.commons.compress.compressors.deflate.DeflateParameters
-
Sets the zlib header presence parameter.
- SEVEN_Z - Static variable in class org.apache.commons.compress.archivers.ArchiveStreamFactory
-
Constant (value "7z") used to identify the 7z archive format.
- SevenZArchiveEntry - Class in org.apache.commons.compress.archivers.sevenz
-
An entry in a 7z archive.
- SevenZArchiveEntry() - Constructor for class org.apache.commons.compress.archivers.sevenz.SevenZArchiveEntry
- SevenZFile - Class in org.apache.commons.compress.archivers.sevenz
-
Reads a 7z file, using SeekableByteChannel under the covers.
- SevenZFile(File) - Constructor for class org.apache.commons.compress.archivers.sevenz.SevenZFile
-
Reads a file as unencrypted 7z archive
- SevenZFile(File, byte[]) - Constructor for class org.apache.commons.compress.archivers.sevenz.SevenZFile
-
Deprecated.use the char[]-arg version for the password instead
- SevenZFile(File, char[]) - Constructor for class org.apache.commons.compress.archivers.sevenz.SevenZFile
-
Reads a file as 7z archive
- SevenZFile(File, char[], SevenZFileOptions) - Constructor for class org.apache.commons.compress.archivers.sevenz.SevenZFile
-
Reads a file as 7z archive with additional options.
- SevenZFile(File, SevenZFileOptions) - Constructor for class org.apache.commons.compress.archivers.sevenz.SevenZFile
-
Reads a file as unencrypted 7z archive
- SevenZFile(SeekableByteChannel) - Constructor for class org.apache.commons.compress.archivers.sevenz.SevenZFile
-
Reads a SeekableByteChannel as 7z archive
- SevenZFile(SeekableByteChannel, byte[]) - Constructor for class org.apache.commons.compress.archivers.sevenz.SevenZFile
-
Deprecated.use the char[]-arg version for the password instead
- SevenZFile(SeekableByteChannel, char[]) - Constructor for class org.apache.commons.compress.archivers.sevenz.SevenZFile
-
Reads a SeekableByteChannel as 7z archive
- SevenZFile(SeekableByteChannel, char[], SevenZFileOptions) - Constructor for class org.apache.commons.compress.archivers.sevenz.SevenZFile
-
Reads a SeekableByteChannel as 7z archive with additional options.
- SevenZFile(SeekableByteChannel, String) - Constructor for class org.apache.commons.compress.archivers.sevenz.SevenZFile
-
Reads a SeekableByteChannel as 7z archive
- SevenZFile(SeekableByteChannel, String, byte[]) - Constructor for class org.apache.commons.compress.archivers.sevenz.SevenZFile
-
Deprecated.use the char[]-arg version for the password instead
- SevenZFile(SeekableByteChannel, String, char[]) - Constructor for class org.apache.commons.compress.archivers.sevenz.SevenZFile
-
Reads a SeekableByteChannel as 7z archive
- SevenZFile(SeekableByteChannel, String, char[], SevenZFileOptions) - Constructor for class org.apache.commons.compress.archivers.sevenz.SevenZFile
-
Reads a SeekableByteChannel as 7z archive with addtional options.
- SevenZFile(SeekableByteChannel, String, SevenZFileOptions) - Constructor for class org.apache.commons.compress.archivers.sevenz.SevenZFile
-
Reads a SeekableByteChannel as 7z archive with additional options.
- SevenZFile(SeekableByteChannel, SevenZFileOptions) - Constructor for class org.apache.commons.compress.archivers.sevenz.SevenZFile
-
Reads a SeekableByteChannel as 7z archive with addtional options.
- SevenZFileOptions - Class in org.apache.commons.compress.archivers.sevenz
-
Collects options for reading 7z archives.
- SevenZFileOptions.Builder - Class in org.apache.commons.compress.archivers.sevenz
-
Mutable builder for the immutable
SevenZFileOptions
. - SevenZMethod - Enum in org.apache.commons.compress.archivers.sevenz
-
The (partially) supported compression/encryption methods used in 7z archives.
- SevenZMethodConfiguration - Class in org.apache.commons.compress.archivers.sevenz
-
Combines a SevenZMethod with configuration options for the method.
- SevenZMethodConfiguration(SevenZMethod) - Constructor for class org.apache.commons.compress.archivers.sevenz.SevenZMethodConfiguration
-
Doesn't configure any additional options.
- SevenZMethodConfiguration(SevenZMethod, Object) - Constructor for class org.apache.commons.compress.archivers.sevenz.SevenZMethodConfiguration
-
Specifies and method plus configuration options.
- SevenZOutputFile - Class in org.apache.commons.compress.archivers.sevenz
-
Writes a 7z file.
- SevenZOutputFile(File) - Constructor for class org.apache.commons.compress.archivers.sevenz.SevenZOutputFile
-
Opens file to write a 7z archive to.
- SevenZOutputFile(SeekableByteChannel) - Constructor for class org.apache.commons.compress.archivers.sevenz.SevenZOutputFile
-
Prepares channel to write a 7z archive to.
- SHA1 - org.apache.commons.compress.archivers.zip.PKWareExtraHeader.HashAlgorithm
- SHA256 - org.apache.commons.compress.archivers.zip.PKWareExtraHeader.HashAlgorithm
- SHA384 - org.apache.commons.compress.archivers.zip.PKWareExtraHeader.HashAlgorithm
- SHA512 - org.apache.commons.compress.archivers.zip.PKWareExtraHeader.HashAlgorithm
- ShortFileException - Exception in org.apache.commons.compress.archivers.dump
-
Short File Exception.
- ShortFileException() - Constructor for exception org.apache.commons.compress.archivers.dump.ShortFileException
- signedByteToUnsignedInt(byte) - Static method in class org.apache.commons.compress.archivers.zip.ZipUtil
-
Converts a signed byte into an unsigned integer representation (e.g., -1 becomes 255).
- SINGLE_SEGMENT_SPLIT_MARKER - Static variable in class org.apache.commons.compress.archivers.zip.ZipLong
-
Marks ZIP archives that were supposed to be split or spanned but only needed a single segment in then end (so are actually neither split nor spanned).
- size() - Method in class org.apache.commons.compress.utils.MultiReadOnlySeekableByteChannel
- size() - Method in class org.apache.commons.compress.utils.SeekableInMemoryByteChannel
- SIZE_UNKNOWN - Static variable in interface org.apache.commons.compress.archivers.ArchiveEntry
-
Special value indicating that the size is unknown
- SIZELEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The length of the size field in a header buffer.
- skip(long) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveInputStream
-
Skips specified number of bytes in the current CPIO entry.
- skip(long) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
-
Skips over and discards
n
bytes of data from this input stream. - skip(long) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
-
Skips over and discards value bytes of data from this input stream.
- skip(long) - Method in class org.apache.commons.compress.compressors.deflate.DeflateCompressorInputStream
- skip(long) - Method in class org.apache.commons.compress.compressors.lzma.LZMACompressorInputStream
- skip(long) - Method in class org.apache.commons.compress.compressors.pack200.Pack200CompressorInputStream
- skip(long) - Method in class org.apache.commons.compress.compressors.xz.XZCompressorInputStream
- skip(long) - Method in class org.apache.commons.compress.utils.ChecksumCalculatingInputStream
- skip(long) - Method in class org.apache.commons.compress.utils.ChecksumVerifyingInputStream
- skip(long) - Method in class org.apache.commons.compress.utils.SkipShieldingInputStream
- skip(InputStream, long) - Static method in class org.apache.commons.compress.utils.IOUtils
-
Skips the given number of bytes by repeatedly invoking skip on the given input stream if necessary.
- 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_KEY - Static variable in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils.UnparseableExtraField
-
Key for "skip" action.
- SkipShieldingInputStream - Class in org.apache.commons.compress.utils
-
A wrapper that overwrites
SkipShieldingInputStream.skip(long)
and delegates toFilterInputStream.read()
instead. - SkipShieldingInputStream(InputStream) - Constructor for class org.apache.commons.compress.utils.SkipShieldingInputStream
- SNAPPY_FRAMED - Static variable in class org.apache.commons.compress.compressors.CompressorStreamFactory
-
Constant (value "snappy-framed") used to identify the "framed" Snappy compression method.
- SNAPPY_RAW - Static variable in class org.apache.commons.compress.compressors.CompressorStreamFactory
-
Constant (value "snappy-raw") used to identify the "raw" Snappy compression method.
- SnappyCompressorInputStream - Class in org.apache.commons.compress.compressors.snappy
-
CompressorInputStream for the raw Snappy format.
- SnappyCompressorInputStream(InputStream) - Constructor for class org.apache.commons.compress.compressors.snappy.SnappyCompressorInputStream
-
Constructor using the default buffer size of 32k.
- SnappyCompressorInputStream(InputStream, int) - Constructor for class org.apache.commons.compress.compressors.snappy.SnappyCompressorInputStream
-
Constructor using a configurable buffer size.
- SnappyCompressorOutputStream - Class in org.apache.commons.compress.compressors.snappy
-
CompressorOutputStream for the raw Snappy format.
- SnappyCompressorOutputStream(OutputStream, long) - Constructor for class org.apache.commons.compress.compressors.snappy.SnappyCompressorOutputStream
-
Constructor using the default block size of 32k.
- SnappyCompressorOutputStream(OutputStream, long, int) - Constructor for class org.apache.commons.compress.compressors.snappy.SnappyCompressorOutputStream
-
Constructor using a configurable block size.
- SnappyCompressorOutputStream(OutputStream, long, Parameters) - Constructor for class org.apache.commons.compress.compressors.snappy.SnappyCompressorOutputStream
-
Constructor providing full control over the underlying LZ77 compressor.
- SOCKET - org.apache.commons.compress.archivers.dump.DumpArchiveEntry.TYPE
- SPARSELEN_GNU - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The sum of the length of all sparse headers in an old GNU header buffer.
- SPARSELEN_GNU_SPARSE - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The sum of the length of all sparse headers in a sparse header buffer.
- SPLITTING - Static variable in class org.apache.commons.compress.archivers.zip.UnsupportedZipFeatureException.Feature
-
The archive uses splitting or spanning.
- STANDARD - org.apache.commons.compress.compressors.snappy.FramedSnappyDialect
-
The standard as defined by the Snappy framing format description
- startBackReference(int, long) - Method in class org.apache.commons.compress.compressors.lz77support.AbstractLZ77CompressorInputStream
-
Used by subclasses to signal the next block contains a back-reference with the given coordinates.
- startLiteral(long) - Method in class org.apache.commons.compress.compressors.lz77support.AbstractLZ77CompressorInputStream
-
Used by subclasses to signal the next block contains the given amount of literal data.
- STICKY - org.apache.commons.compress.archivers.dump.DumpArchiveEntry.PERMISSION
- STORED - org.apache.commons.compress.archivers.zip.ZipMethod
-
Compression method 0 for uncompressed entries.
- STORED - Static variable in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Compression method for stored entries.
- StreamCompressor - Class in org.apache.commons.compress.archivers.zip
-
Encapsulates a
Deflater
and crc calculator, handling multiple types of output streams. - StreamingNotSupportedException - Exception in org.apache.commons.compress.archivers
-
Exception thrown by ArchiveStreamFactory if a format is requested/detected that doesn't support streaming.
- StreamingNotSupportedException(String) - Constructor for exception org.apache.commons.compress.archivers.StreamingNotSupportedException
-
Creates a new StreamingNotSupportedException.
- STRICT_FOR_KNOW_EXTRA_FIELDS - org.apache.commons.compress.archivers.zip.ZipArchiveEntry.ExtraFieldParsingMode
-
Try to parse as many extra fields as possible and wrap unknown extra fields in
UnrecognizedExtraField
. - submit(Callable<? extends Object>) - Method in class org.apache.commons.compress.archivers.zip.ParallelScatterZipCreator
-
Submit a callable for compression.
- submitStreamAwareCallable(Callable<? extends ScatterZipOutputStream>) - Method in class org.apache.commons.compress.archivers.zip.ParallelScatterZipCreator
-
Submit a callable for compression.
- supplier - Variable in class org.apache.commons.compress.compressors.lz77support.AbstractLZ77CompressorInputStream
-
Supplier that delegates to
AbstractLZ77CompressorInputStream.readOneByte()
.
T
- TAPE - org.apache.commons.compress.archivers.dump.DumpArchiveConstants.SEGMENT_TYPE
- 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(byte[]) - Constructor for class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Construct an entry from an archive's header bytes.
- TarArchiveEntry(byte[], ZipEncoding) - Constructor for class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Construct an entry from an archive's header bytes.
- TarArchiveEntry(byte[], ZipEncoding, boolean) - Constructor for class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Construct an entry from an archive's header bytes.
- 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(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(String, byte, boolean) - Constructor for class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Construct an entry with a name and a link flag.
- 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, boolean) - 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.
- TarArchiveInputStream(InputStream, int, int, String) - Constructor for class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
-
Constructor for TarInputStream.
- TarArchiveInputStream(InputStream, int, int, String, boolean) - Constructor for class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
-
Constructor for TarInputStream.
- TarArchiveInputStream(InputStream, int, String) - Constructor for class org.apache.commons.compress.archivers.tar.TarArchiveInputStream
-
Constructor for TarInputStream.
- TarArchiveInputStream(InputStream, String) - 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 TarArchiveOutputStream.
- TarArchiveOutputStream(OutputStream, int) - Constructor for class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
-
Constructor for TarArchiveOutputStream.
- TarArchiveOutputStream(OutputStream, int, int) - Constructor for class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
-
Deprecated.recordSize must always be 512 bytes. An IllegalArgumentException will be thrown if any other value is used
- TarArchiveOutputStream(OutputStream, int, int, String) - Constructor for class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
-
Deprecated.recordSize must always be 512 bytes. An IllegalArgumentException will be thrown if any other value is used.
- TarArchiveOutputStream(OutputStream, int, String) - Constructor for class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
-
Constructor for TarArchiveOutputStream.
- TarArchiveOutputStream(OutputStream, String) - Constructor for class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
-
Constructor for TarArchiveOutputStream.
- TarArchiveSparseEntry - Class in org.apache.commons.compress.archivers.tar
-
This class represents a sparse entry in a Tar archive.
- TarArchiveSparseEntry(byte[]) - Constructor for class org.apache.commons.compress.archivers.tar.TarArchiveSparseEntry
-
Construct an entry from an archive's header bytes.
- TarConstants - Interface in org.apache.commons.compress.archivers.tar
-
This interface contains all the definitions used in the package.
- TarUtils - Class in org.apache.commons.compress.archivers.tar
-
This class provides static utility methods to work with byte streams.
- TEMP_FILE - org.apache.commons.compress.compressors.pack200.Pack200Strategy
-
Cache output in a temporary file
- test(ZipArchiveEntry) - Method in interface org.apache.commons.compress.archivers.zip.ZipArchiveEntryPredicate
-
Indicate if the given entry should be included in the operation
- THROW - Static variable in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils.UnparseableExtraField
-
Throw an exception if field cannot be parsed.
- THROW_KEY - Static variable in class org.apache.commons.compress.archivers.zip.ExtraFieldUtils.UnparseableExtraField
-
Key for "throw an exception" action.
- toAsciiBytes(String) - Static method in class org.apache.commons.compress.utils.ArchiveUtils
-
Convert a string to Ascii bytes.
- toAsciiString(byte[]) - Static method in class org.apache.commons.compress.utils.ArchiveUtils
-
Convert an input byte array to a String using the ASCII character set.
- toAsciiString(byte[], int, int) - Static method in class org.apache.commons.compress.utils.ArchiveUtils
-
Convert an input byte array to a String using the ASCII character set.
- toByteArray(InputStream) - Static method in class org.apache.commons.compress.utils.IOUtils
-
Gets the contents of an
InputStream
as abyte[]
. - toCharset(String) - Static method in class org.apache.commons.compress.utils.Charsets
-
Returns a Charset for the named charset.
- toCharset(Charset) - Static method in class org.apache.commons.compress.utils.Charsets
-
Returns the given Charset or the default Charset if the given Charset is null.
- toDosTime(long) - Static method in class org.apache.commons.compress.archivers.zip.ZipUtil
-
Convert a Date object to a DOS date/time field.
- toDosTime(long, byte[], int) - Static method in class org.apache.commons.compress.archivers.zip.ZipUtil
-
Convert a Date object to a DOS date/time field.
- toDosTime(Date) - Static method in class org.apache.commons.compress.archivers.zip.ZipUtil
-
Convert a Date object to a DOS date/time field.
- TOKENIZATION - org.apache.commons.compress.archivers.zip.ZipMethod
-
Tokenization.
- toLittleEndian(byte[], long, int, int) - Static method in class org.apache.commons.compress.utils.ByteUtils
-
Inserts the given value into the array as a little endian sequence of the given length starting at the given offset.
- toLittleEndian(DataOutput, long, int) - Static method in class org.apache.commons.compress.utils.ByteUtils
-
Writes the given value to the given stream as a little endian array of the given length.
- toLittleEndian(OutputStream, long, int) - Static method in class org.apache.commons.compress.utils.ByteUtils
-
Writes the given value to the given stream as a little endian array of the given length.
- toLittleEndian(ByteUtils.ByteConsumer, long, int) - Static method in class org.apache.commons.compress.utils.ByteUtils
-
Provides the given value to the given consumer as a little endian sequence of the given length.
- toString() - Method in class org.apache.commons.compress.archivers.dump.DumpArchiveEntry
- toString() - Method in class org.apache.commons.compress.archivers.sevenz.SevenZFile
- toString() - Method in class org.apache.commons.compress.archivers.zip.ScatterStatistics
- toString() - Method in class org.apache.commons.compress.archivers.zip.UnsupportedZipFeatureException.Feature
- toString() - Method in class org.apache.commons.compress.archivers.zip.X000A_NTFS
-
Returns a String representation of this class useful for debugging purposes.
- toString() - Method in class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
-
Returns a String representation of this class useful for debugging purposes.
- toString() - Method in class org.apache.commons.compress.archivers.zip.X7875_NewUnix
-
Returns a String representation of this class useful for debugging purposes.
- toString() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.UnicodeExtraFieldPolicy
- toString() - Method in class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
- toString() - Method in class org.apache.commons.compress.archivers.zip.ZipLong
- toString() - Method in class org.apache.commons.compress.archivers.zip.ZipShort
- toString() - Method in class org.apache.commons.compress.compressors.lz4.FramedLZ4CompressorOutputStream.Parameters
- toString() - Method in class org.apache.commons.compress.compressors.lz77support.LZ77Compressor.BackReference
- toString() - Method in class org.apache.commons.compress.compressors.lz77support.LZ77Compressor.LiteralBlock
- 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.
- TP_SIZE - Static variable in class org.apache.commons.compress.archivers.dump.DumpArchiveConstants
- TRAILER - Static variable in class org.apache.commons.compress.archivers.ar.ArArchiveEntry
-
The trailer for each entry
- TripleDES168 - org.apache.commons.compress.archivers.zip.PKWareExtraHeader.EncryptionAlgorithm
- TripleDES192 - org.apache.commons.compress.archivers.zip.PKWareExtraHeader.EncryptionAlgorithm
- TRUE_MIN_BACK_REFERENCE_LENGTH - Static variable in class org.apache.commons.compress.compressors.lz77support.Parameters
-
The hard-coded absolute minimal length of a back-reference.
- truncate(long) - Method in class org.apache.commons.compress.utils.MultiReadOnlySeekableByteChannel
- truncate(long) - Method in class org.apache.commons.compress.utils.SeekableInMemoryByteChannel
- tunedForCompressionRatio() - Method in class org.apache.commons.compress.compressors.lz77support.Parameters.Builder
-
Changes the default setting for "nice back-reference length" and "maximum number of candidates" for improved compression ratio at the cost of compression speed.
- tunedForSpeed() - Method in class org.apache.commons.compress.compressors.lz77support.Parameters.Builder
-
Changes the default setting for "nice back-reference length" and "maximum number of candidates" for improved compression speed at the cost of compression ratio.
U
- UCOM_ID - Static variable in class org.apache.commons.compress.archivers.zip.UnicodeCommentExtraField
- UFT8_NAMES_FLAG - Static variable in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
-
Indicates that file names are written in UTF-8.
- UIDLEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The length of the user id field in a header buffer.
- UNAMELEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The length of the user name field in a header buffer.
- UNICODE_EXTRA_FIELD - org.apache.commons.compress.archivers.zip.ZipArchiveEntry.CommentSource
-
The comment has been read from an
Unicode Extra Field
. - UNICODE_EXTRA_FIELD - org.apache.commons.compress.archivers.zip.ZipArchiveEntry.NameSource
-
The name has been read from an
Unicode Extra Field
. - 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[]) - 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.
- 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.
- 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[]) - 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[], 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.
- UNIX - Static variable in class org.apache.commons.compress.archivers.arj.ArjArchiveEntry.HostOs
- UnixStat - Interface in org.apache.commons.compress.archivers.zip
-
Constants from stat.h on Unix systems.
- UNKNOWN - org.apache.commons.compress.archivers.dump.DumpArchiveEntry.TYPE
- UNKNOWN - org.apache.commons.compress.archivers.zip.PKWareExtraHeader.EncryptionAlgorithm
- UNKNOWN - org.apache.commons.compress.archivers.zip.ZipMethod
-
Unknown compression method.
- UNKNOWN - Static variable in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Value used to indicate unknown mode, user/groupids, device numbers and modTime when parsing a file in lenient mode an the archive contains illegal fields.
- UNKNOWN_COMPRESSED_SIZE - Static variable in class org.apache.commons.compress.archivers.zip.UnsupportedZipFeatureException.Feature
-
The archive contains entries with unknown compressed size for a compression method that doesn't support detection of the end of the compressed stream.
- UnparseableExtraFieldBehavior - Interface in org.apache.commons.compress.archivers.zip
-
Handles extra field data that doesn't follow the recommended pattern for extra fields with a two-byte key and a two-byte length.
- 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
- UnrecognizedFormatException - Exception in org.apache.commons.compress.archivers.dump
-
Unrecognized Format Exception.
- UnrecognizedFormatException() - Constructor for exception org.apache.commons.compress.archivers.dump.UnrecognizedFormatException
- UNSHRINKING - org.apache.commons.compress.archivers.zip.ZipMethod
-
UnShrinking.
- unsignedIntToSignedByte(int) - Static method in class org.apache.commons.compress.archivers.zip.ZipUtil
-
Converts an unsigned integer to a signed byte (e.g., 255 becomes -1).
- UnsupportedCompressionAlgorithmException - Exception in org.apache.commons.compress.archivers.dump
-
Unsupported compression algorithm.
- UnsupportedCompressionAlgorithmException() - Constructor for exception org.apache.commons.compress.archivers.dump.UnsupportedCompressionAlgorithmException
- UnsupportedCompressionAlgorithmException(String) - Constructor for exception org.apache.commons.compress.archivers.dump.UnsupportedCompressionAlgorithmException
- 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) - Constructor for exception org.apache.commons.compress.archivers.zip.UnsupportedZipFeatureException
-
Creates an exception when the whole archive uses an unsupported feature.
- UnsupportedZipFeatureException(UnsupportedZipFeatureException.Feature, ZipArchiveEntry) - Constructor for exception org.apache.commons.compress.archivers.zip.UnsupportedZipFeatureException
-
Creates an exception.
- UnsupportedZipFeatureException(ZipMethod, ZipArchiveEntry) - Constructor for exception org.apache.commons.compress.archivers.zip.UnsupportedZipFeatureException
-
Creates an exception for archives that use an unsupported compression algorithm.
- UnsupportedZipFeatureException.Feature - Class in org.apache.commons.compress.archivers.zip
-
ZIP Features that may or may not be supported.
- UNUSED_PREFIX - Static variable in class org.apache.commons.compress.compressors.lzw.LZWInputStream
- UPATH_ID - Static variable in class org.apache.commons.compress.archivers.zip.UnicodePathExtraField
- update(byte[], int, int) - Method in class org.apache.commons.compress.compressors.lz4.XXHash32
- update(int) - Method in class org.apache.commons.compress.compressors.lz4.XXHash32
- US_ASCII - Static variable in class org.apache.commons.compress.utils.CharsetNames
-
Seven-bit ASCII, also known as ISO646-US, also known as the Basic Latin block of the Unicode character set.
- US_ASCII - Static variable in class org.apache.commons.compress.utils.Charsets
-
Deprecated.replaced by
StandardCharsets
in Java 7 - 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.
- USER_EXEC - org.apache.commons.compress.archivers.dump.DumpArchiveEntry.PERMISSION
- USER_READ - org.apache.commons.compress.archivers.dump.DumpArchiveEntry.PERMISSION
- USER_WRITE - org.apache.commons.compress.archivers.dump.DumpArchiveEntry.PERMISSION
- usesDataDescriptor() - Method in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
-
whether the current entry uses the data descriptor to store CRC and size information.
- usesEncryption() - Method in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
-
whether the current entry is encrypted.
- usesStrongEncryption() - Method in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
-
whether the current entry is encrypted using strong encryption.
- useStrongEncryption(boolean) - Method in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
-
whether the current entry will be encrypted using strong encryption.
- usesUTF8ForNames() - Method in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
-
whether the current entry uses UTF8 for file name and comment.
- useUTF8ForNames(boolean) - Method in class org.apache.commons.compress.archivers.zip.GeneralPurposeBit
-
whether the current entry will use UTF8 for file name and comment.
- UTF_16 - Static variable in class org.apache.commons.compress.utils.CharsetNames
-
Sixteen-bit Unicode Transformation Format, The byte order specified by a mandatory initial byte-order mark (either order accepted on input, big-endian used on output)
- UTF_16 - Static variable in class org.apache.commons.compress.utils.Charsets
-
Deprecated.replaced by
StandardCharsets
in Java 7 - UTF_16BE - Static variable in class org.apache.commons.compress.utils.CharsetNames
-
Sixteen-bit Unicode Transformation Format, big-endian byte order.
- UTF_16BE - Static variable in class org.apache.commons.compress.utils.Charsets
-
Deprecated.replaced by
StandardCharsets
in Java 7 - UTF_16LE - Static variable in class org.apache.commons.compress.utils.CharsetNames
-
Sixteen-bit Unicode Transformation Format, little-endian byte order.
- UTF_16LE - Static variable in class org.apache.commons.compress.utils.Charsets
-
Deprecated.replaced by
StandardCharsets
in Java 7 - UTF_8 - Static variable in class org.apache.commons.compress.utils.CharsetNames
-
Eight-bit Unicode Transformation Format.
- UTF_8 - Static variable in class org.apache.commons.compress.utils.Charsets
-
Deprecated.replaced by
StandardCharsets
in Java 7
V
- valueOf(String) - Static method in enum org.apache.commons.compress.archivers.dump.DumpArchiveConstants.COMPRESSION_TYPE
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.compress.archivers.dump.DumpArchiveConstants.SEGMENT_TYPE
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.compress.archivers.dump.DumpArchiveEntry.PERMISSION
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.compress.archivers.dump.DumpArchiveEntry.TYPE
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.compress.archivers.sevenz.SevenZMethod
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.compress.archivers.zip.PKWareExtraHeader.EncryptionAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.compress.archivers.zip.PKWareExtraHeader.HashAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.compress.archivers.zip.Zip64Mode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.compress.archivers.zip.ZipArchiveEntry.CommentSource
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.compress.archivers.zip.ZipArchiveEntry.ExtraFieldParsingMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.compress.archivers.zip.ZipArchiveEntry.NameSource
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.compress.archivers.zip.ZipMethod
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.compress.compressors.lz4.FramedLZ4CompressorOutputStream.BlockSize
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.compress.compressors.lz77support.LZ77Compressor.Block.BlockType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.compress.compressors.pack200.Pack200Strategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.compress.compressors.snappy.FramedSnappyDialect
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.commons.compress.archivers.dump.DumpArchiveConstants.COMPRESSION_TYPE
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.compress.archivers.dump.DumpArchiveConstants.SEGMENT_TYPE
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.compress.archivers.dump.DumpArchiveEntry.PERMISSION
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.compress.archivers.dump.DumpArchiveEntry.TYPE
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.compress.archivers.sevenz.SevenZMethod
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.compress.archivers.zip.PKWareExtraHeader.EncryptionAlgorithm
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.compress.archivers.zip.PKWareExtraHeader.HashAlgorithm
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.compress.archivers.zip.Zip64Mode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.compress.archivers.zip.ZipArchiveEntry.CommentSource
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.compress.archivers.zip.ZipArchiveEntry.ExtraFieldParsingMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.compress.archivers.zip.ZipArchiveEntry.NameSource
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.compress.archivers.zip.ZipMethod
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.compress.compressors.lz4.FramedLZ4CompressorOutputStream.BlockSize
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.compress.compressors.lz77support.LZ77Compressor.Block.BlockType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.compress.compressors.pack200.Pack200Strategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.compress.compressors.snappy.FramedSnappyDialect
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VAX_VMS - Static variable in class org.apache.commons.compress.archivers.arj.ArjArchiveEntry.HostOs
- verifyCheckSum(byte[]) - Static method in class org.apache.commons.compress.archivers.tar.TarUtils
-
Wikipedia says: The checksum is calculated by taking the sum of the unsigned byte values of the header block with the eight checksum bytes taken to be ascii spaces (decimal value 32).
- VERSION_ANT - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
The "version" representing an Ant tar archive.
- VERSION_GNU_SPACE - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
- VERSION_GNU_ZERO - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
- VERSION_OFFSET - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
Offset of start of magic field within header record
- VERSION_POSIX - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
- VERSIONLEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
Previously this was regarded as part of "magic" field, but it is separate.
W
- WAVPACK - org.apache.commons.compress.archivers.zip.ZipMethod
-
Compression Method 97 for WavPack.
- WHITEOUT - org.apache.commons.compress.archivers.dump.DumpArchiveEntry.TYPE
- WIN32 - Static variable in class org.apache.commons.compress.archivers.arj.ArjArchiveEntry.HostOs
- WIN95 - Static variable in class org.apache.commons.compress.archivers.arj.ArjArchiveEntry.HostOs
- withLazyMatching(boolean) - Method in class org.apache.commons.compress.compressors.lz77support.Parameters.Builder
-
Sets whether lazy matching should be performed.
- withLazyThreshold(int) - Method in class org.apache.commons.compress.compressors.lz77support.Parameters.Builder
-
Sets the threshold for lazy matching.
- withMaxBackReferenceLength(int) - Method in class org.apache.commons.compress.compressors.lz77support.Parameters.Builder
-
Sets the maximal length of a back-reference.
- withMaxLiteralLength(int) - Method in class org.apache.commons.compress.compressors.lz77support.Parameters.Builder
-
Sets the maximal length of a literal block.
- withMaxMemoryLimitInKb(int) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZFileOptions.Builder
-
Sets the maximum amount of memory to use for extraction.
- withMaxNumberOfCandidates(int) - Method in class org.apache.commons.compress.compressors.lz77support.Parameters.Builder
-
Sets the maximum number of back-reference candidates that should be consulted.
- withMaxOffset(int) - Method in class org.apache.commons.compress.compressors.lz77support.Parameters.Builder
-
Sets the maximal offset of a back-reference.
- withMinBackReferenceLength(int) - Method in class org.apache.commons.compress.compressors.lz77support.Parameters.Builder
-
Sets the mininal length of a back-reference.
- withNiceBackReferenceLength(int) - Method in class org.apache.commons.compress.compressors.lz77support.Parameters.Builder
-
Sets the "nice length" of a back-reference.
- withUseDefaultNameForUnnamedEntries(boolean) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZFileOptions.Builder
-
Sets whether entries without a name should get their names set to the archive's default file name.
- withZlibHeader() - Method in class org.apache.commons.compress.compressors.deflate.DeflateParameters
-
Whether or not the zlib header shall be written (when compressing) or expected (when decompressing).
- WORLD_EXEC - org.apache.commons.compress.archivers.dump.DumpArchiveEntry.PERMISSION
- WORLD_READ - org.apache.commons.compress.archivers.dump.DumpArchiveEntry.PERMISSION
- WORLD_WRITE - org.apache.commons.compress.archivers.dump.DumpArchiveEntry.PERMISSION
- write(byte[]) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZOutputFile
-
Writes a byte array to the current archive entry.
- write(byte[]) - Method in class org.apache.commons.compress.compressors.gzip.GzipCompressorOutputStream
- write(byte[]) - Method in class org.apache.commons.compress.compressors.pack200.Pack200CompressorOutputStream
- write(byte[]) - Method in class org.apache.commons.compress.utils.CountingOutputStream
- write(byte[], int, int) - Method in class org.apache.commons.compress.archivers.ar.ArArchiveOutputStream
- write(byte[], int, int) - Method in class org.apache.commons.compress.archivers.cpio.CpioArchiveOutputStream
-
Writes an array of bytes to the current CPIO entry data.
- write(byte[], int, int) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZOutputFile
-
Writes part of a byte array to the current archive entry.
- write(byte[], int, int) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream
-
Writes bytes to the current tar archive entry.
- write(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Writes bytes to ZIP entry.
- write(byte[], int, int) - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
- write(byte[], int, int) - Method in class org.apache.commons.compress.compressors.deflate.DeflateCompressorOutputStream
- write(byte[], int, int) - Method in class org.apache.commons.compress.compressors.gzip.GzipCompressorOutputStream
- write(byte[], int, int) - Method in class org.apache.commons.compress.compressors.lz4.BlockLZ4CompressorOutputStream
- write(byte[], int, int) - Method in class org.apache.commons.compress.compressors.lz4.FramedLZ4CompressorOutputStream
- write(byte[], int, int) - Method in class org.apache.commons.compress.compressors.lzma.LZMACompressorOutputStream
- write(byte[], int, int) - Method in class org.apache.commons.compress.compressors.pack200.Pack200CompressorOutputStream
- write(byte[], int, int) - Method in class org.apache.commons.compress.compressors.snappy.FramedSnappyCompressorOutputStream
- write(byte[], int, int) - Method in class org.apache.commons.compress.compressors.snappy.SnappyCompressorOutputStream
- write(byte[], int, int) - Method in class org.apache.commons.compress.compressors.xz.XZCompressorOutputStream
- write(byte[], int, int) - Method in class org.apache.commons.compress.utils.CountingOutputStream
- write(byte[], int, int) - Method in class org.apache.commons.compress.utils.FixedLengthBlockOutputStream
- write(int) - Method in class org.apache.commons.compress.archivers.ArchiveOutputStream
-
Writes a byte to the current archive entry.
- write(int) - Method in class org.apache.commons.compress.archivers.sevenz.SevenZOutputFile
-
Writes a byte to the current archive entry.
- write(int) - Method in class org.apache.commons.compress.compressors.bzip2.BZip2CompressorOutputStream
- write(int) - Method in class org.apache.commons.compress.compressors.deflate.DeflateCompressorOutputStream
- write(int) - Method in class org.apache.commons.compress.compressors.gzip.GzipCompressorOutputStream
- write(int) - Method in class org.apache.commons.compress.compressors.lz4.BlockLZ4CompressorOutputStream
- write(int) - Method in class org.apache.commons.compress.compressors.lz4.FramedLZ4CompressorOutputStream
- write(int) - Method in class org.apache.commons.compress.compressors.lzma.LZMACompressorOutputStream
- write(int) - Method in class org.apache.commons.compress.compressors.pack200.Pack200CompressorOutputStream
- write(int) - Method in class org.apache.commons.compress.compressors.snappy.FramedSnappyCompressorOutputStream
- write(int) - Method in class org.apache.commons.compress.compressors.snappy.SnappyCompressorOutputStream
- write(int) - Method in class org.apache.commons.compress.compressors.xz.XZCompressorOutputStream
- write(int) - Method in class org.apache.commons.compress.utils.CountingOutputStream
- write(int) - Method in class org.apache.commons.compress.utils.FixedLengthBlockOutputStream
- write(ByteBuffer) - Method in class org.apache.commons.compress.utils.FixedLengthBlockOutputStream
- write(ByteBuffer) - Method in class org.apache.commons.compress.utils.MultiReadOnlySeekableByteChannel
- write(ByteBuffer) - Method in class org.apache.commons.compress.utils.SeekableInMemoryByteChannel
- writeCentralDirectoryEnd() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Writes the "End of central dir record".
- writeCentralFileHeader(ZipArchiveEntry) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Writes the central file header entry.
- writeCounted(byte[]) - Method in class org.apache.commons.compress.archivers.zip.StreamCompressor
- writeCounted(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.StreamCompressor
- writeDataDescriptor(ZipArchiveEntry) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Writes the data descriptor entry.
- writeEntryHeader(byte[]) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Write an entry's header information to a header buffer.
- writeEntryHeader(byte[], ZipEncoding, boolean) - Method in class org.apache.commons.compress.archivers.tar.TarArchiveEntry
-
Write an entry's header information to a header buffer.
- writeLocalFileHeader(ZipArchiveEntry) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Writes the local file header entry
- writeNextZipEntry(ZipArchiveOutputStream) - Method in class org.apache.commons.compress.archivers.zip.ScatterZipOutputStream.ZipEntryWriter
- writeOut(byte[]) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Write bytes to output or random access file.
- writeOut(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.StreamCompressor
- writeOut(byte[], int, int) - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Write bytes to output or random access file.
- writeOut(byte[], int, int) - Method in class org.apache.commons.compress.parallel.FileBasedScatterGatherBackingStore
- writeOut(byte[], int, int) - Method in interface org.apache.commons.compress.parallel.ScatterGatherBackingStore
-
Writes a piece of payload.
- writeTo(ZipArchiveOutputStream) - Method in class org.apache.commons.compress.archivers.zip.ParallelScatterZipCreator
-
Write the contents this to the target
ZipArchiveOutputStream
. - writeTo(ZipArchiveOutputStream) - Method in class org.apache.commons.compress.archivers.zip.ScatterZipOutputStream
-
Write the contents of this scatter stream to a target archive.
- writeZip64CentralDirectory() - Method in class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Writes the "ZIP64 End of central dir record" and "ZIP64 End of central dir locator".
X
- X000A_NTFS - Class in org.apache.commons.compress.archivers.zip
-
NTFS extra field that was thought to store various attributes but in reality only stores timestamps.
- X000A_NTFS() - Constructor for class org.apache.commons.compress.archivers.zip.X000A_NTFS
- X0014_X509Certificates - Class in org.apache.commons.compress.archivers.zip
-
PKCS#7 Store for X.509 Certificates (0x0014).
- X0014_X509Certificates() - Constructor for class org.apache.commons.compress.archivers.zip.X0014_X509Certificates
- X0015_CertificateIdForFile - Class in org.apache.commons.compress.archivers.zip
-
X.509 Certificate ID and Signature for individual file (0x0015).
- X0015_CertificateIdForFile() - Constructor for class org.apache.commons.compress.archivers.zip.X0015_CertificateIdForFile
- X0016_CertificateIdForCentralDirectory - Class in org.apache.commons.compress.archivers.zip
-
X.509 Certificate ID and Signature for central directory (0x0016).
- X0016_CertificateIdForCentralDirectory() - Constructor for class org.apache.commons.compress.archivers.zip.X0016_CertificateIdForCentralDirectory
- X0017_StrongEncryptionHeader - Class in org.apache.commons.compress.archivers.zip
-
Strong Encryption Header (0x0017).
- X0017_StrongEncryptionHeader() - Constructor for class org.apache.commons.compress.archivers.zip.X0017_StrongEncryptionHeader
- X0019_EncryptionRecipientCertificateList - Class in org.apache.commons.compress.archivers.zip
-
PKCS#7 Encryption Recipient Certificate List (0x0019).
- X0019_EncryptionRecipientCertificateList() - Constructor for class org.apache.commons.compress.archivers.zip.X0019_EncryptionRecipientCertificateList
- X5455_ExtendedTimestamp - Class in org.apache.commons.compress.archivers.zip
-
An extra field that stores additional file and directory timestamp data for zip entries.
- X5455_ExtendedTimestamp() - Constructor for class org.apache.commons.compress.archivers.zip.X5455_ExtendedTimestamp
-
Constructor for X5455_ExtendedTimestamp.
- X7875_NewUnix - Class in org.apache.commons.compress.archivers.zip
-
An extra field that stores UNIX UID/GID data (owner & group ownership) for a given zip entry.
- X7875_NewUnix() - Constructor for class org.apache.commons.compress.archivers.zip.X7875_NewUnix
-
Constructor for X7875_NewUnix.
- XSTAR_MAGIC_LEN - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
Length of the XSTAR magic.
- XSTAR_MAGIC_OFFSET - Static variable in interface org.apache.commons.compress.archivers.tar.TarConstants
-
Offset inside the header for the xstar magic bytes.
- XXHash32 - Class in org.apache.commons.compress.compressors.lz4
-
Implementation of the xxhash32 hash algorithm.
- XXHash32() - Constructor for class org.apache.commons.compress.compressors.lz4.XXHash32
-
Creates an XXHash32 instance with a seed of 0.
- XXHash32(int) - Constructor for class org.apache.commons.compress.compressors.lz4.XXHash32
-
Creates an XXHash32 instance.
- XZ - org.apache.commons.compress.archivers.zip.ZipMethod
-
Compression Method 95 for XZ.
- XZ - Static variable in class org.apache.commons.compress.compressors.CompressorStreamFactory
-
Constant (value "xz") used to identify the XZ compression method.
- XZCompressorInputStream - Class in org.apache.commons.compress.compressors.xz
-
XZ decompressor.
- XZCompressorInputStream(InputStream) - Constructor for class org.apache.commons.compress.compressors.xz.XZCompressorInputStream
-
Creates a new input stream that decompresses XZ-compressed data from the specified input stream.
- XZCompressorInputStream(InputStream, boolean) - Constructor for class org.apache.commons.compress.compressors.xz.XZCompressorInputStream
-
Creates a new input stream that decompresses XZ-compressed data from the specified input stream.
- XZCompressorInputStream(InputStream, boolean, int) - Constructor for class org.apache.commons.compress.compressors.xz.XZCompressorInputStream
-
Creates a new input stream that decompresses XZ-compressed data from the specified input stream.
- XZCompressorOutputStream - Class in org.apache.commons.compress.compressors.xz
-
XZ compressor.
- XZCompressorOutputStream(OutputStream) - Constructor for class org.apache.commons.compress.compressors.xz.XZCompressorOutputStream
-
Creates a new XZ compressor using the default LZMA2 options.
- XZCompressorOutputStream(OutputStream, int) - Constructor for class org.apache.commons.compress.compressors.xz.XZCompressorOutputStream
-
Creates a new XZ compressor using the specified LZMA2 preset level.
- XZUtils - Class in org.apache.commons.compress.compressors.xz
-
Utility code for the xz compression format.
Z
- Z - Static variable in class org.apache.commons.compress.compressors.CompressorStreamFactory
-
Constant (value "z") used to identify the traditional Unix compress method.
- ZCompressorInputStream - Class in org.apache.commons.compress.compressors.z
-
Input stream that decompresses .Z files.
- ZCompressorInputStream(InputStream) - Constructor for class org.apache.commons.compress.compressors.z.ZCompressorInputStream
- ZCompressorInputStream(InputStream, int) - Constructor for class org.apache.commons.compress.compressors.z.ZCompressorInputStream
- ZERO - Static variable in class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
- ZERO - Static variable in class org.apache.commons.compress.archivers.zip.ZipShort
-
ZipShort with a value of 0.
- ZIP - Static variable in class org.apache.commons.compress.archivers.ArchiveStreamFactory
-
Constant (value "zip") used to identify the ZIP archive format.
- Zip64ExtendedInformationExtraField - Class in org.apache.commons.compress.archivers.zip
-
Holds size and other extended information for entries that use Zip64 features.
- Zip64ExtendedInformationExtraField() - Constructor for class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
-
This constructor should only be used by the code that reads archives inside of Commons Compress.
- Zip64ExtendedInformationExtraField(ZipEightByteInteger, ZipEightByteInteger) - Constructor for class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
-
Creates an extra field based on the original and compressed size.
- Zip64ExtendedInformationExtraField(ZipEightByteInteger, ZipEightByteInteger, ZipEightByteInteger, ZipLong) - Constructor for class org.apache.commons.compress.archivers.zip.Zip64ExtendedInformationExtraField
-
Creates an extra field based on all four possible values.
- Zip64Mode - Enum in org.apache.commons.compress.archivers.zip
-
The different modes
ZipArchiveOutputStream
can operate in. - Zip64RequiredException - Exception in org.apache.commons.compress.archivers.zip
- Zip64RequiredException(String) - Constructor for exception org.apache.commons.compress.archivers.zip.Zip64RequiredException
- 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() - 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.
- 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.CommentSource - Enum in org.apache.commons.compress.archivers.zip
-
Indicates how the comment of this entry has been determined.
- ZipArchiveEntry.ExtraFieldParsingMode - Enum in org.apache.commons.compress.archivers.zip
-
How to try to parse the extra fields.
- ZipArchiveEntry.NameSource - Enum in org.apache.commons.compress.archivers.zip
-
Indicates how the name of this entry has been determined.
- ZipArchiveEntryPredicate - Interface in org.apache.commons.compress.archivers.zip
-
A predicate to test if a #ZipArchiveEntry matches a criteria.
- ZipArchiveEntryRequest - Class in org.apache.commons.compress.archivers.zip
-
A Thread-safe representation of a ZipArchiveEntry that is used to add entries to parallel archives.
- ZipArchiveEntryRequestSupplier - Interface in org.apache.commons.compress.archivers.zip
-
Supplies
ZipArchiveEntryRequest
. - 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
-
Create an instance using UTF-8 encoding
- ZipArchiveInputStream(InputStream, String) - Constructor for class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
-
Create an instance using the specified encoding
- ZipArchiveInputStream(InputStream, String, boolean) - Constructor for class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
-
Create an instance using the specified encoding
- ZipArchiveInputStream(InputStream, String, boolean, boolean) - Constructor for class org.apache.commons.compress.archivers.zip.ZipArchiveInputStream
-
Create an instance using the specified encoding
- 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(File) - Constructor for class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Creates a new ZIP OutputStream writing to a File.
- ZipArchiveOutputStream(OutputStream) - Constructor for class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Creates a new ZIP OutputStream filtering the underlying stream.
- ZipArchiveOutputStream(SeekableByteChannel) - Constructor for class org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream
-
Creates a new ZIP OutputStream writing to a SeekableByteChannel.
- ZipArchiveOutputStream.UnicodeExtraFieldPolicy - Class in org.apache.commons.compress.archivers.zip
-
enum that represents the possible policies for creating Unicode extra fields.
- ZipEightByteInteger - Class in org.apache.commons.compress.archivers.zip
-
Utility class that represents an eight byte integer with conversion rules for the little endian byte order of ZIP files.
- ZipEightByteInteger(byte[]) - Constructor for class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
-
Create instance from bytes.
- ZipEightByteInteger(byte[], int) - Constructor for class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
-
Create instance from the eight bytes starting at offset.
- ZipEightByteInteger(long) - Constructor for class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
-
Create instance from a number.
- ZipEightByteInteger(BigInteger) - Constructor for class org.apache.commons.compress.archivers.zip.ZipEightByteInteger
-
Create instance from a number.
- ZipEncoding - Interface in org.apache.commons.compress.archivers.zip
-
An interface for encoders that do a pretty encoding of ZIP file names.
- ZipEncodingHelper - Class in org.apache.commons.compress.archivers.zip
-
Static helper functions for robustly encoding file names in zip files.
- ZipEncodingHelper() - Constructor for class org.apache.commons.compress.archivers.zip.ZipEncodingHelper
- zipEntryWriter() - Method in class org.apache.commons.compress.archivers.zip.ScatterZipOutputStream
-
Get a zip entry writer for this scatter stream.
- ZipEntryWriter(ScatterZipOutputStream) - Constructor for class org.apache.commons.compress.archivers.zip.ScatterZipOutputStream.ZipEntryWriter
- 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(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(File, String, boolean, 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(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(SeekableByteChannel) - Constructor for class org.apache.commons.compress.archivers.zip.ZipFile
-
Opens the given channel for reading, assuming "UTF8" for file names.
- ZipFile(SeekableByteChannel, String) - Constructor for class org.apache.commons.compress.archivers.zip.ZipFile
-
Opens the given channel for reading, assuming the specified encoding for file names.
- ZipFile(SeekableByteChannel, String, String, boolean) - Constructor for class org.apache.commons.compress.archivers.zip.ZipFile
-
Opens the given channel for reading, assuming the specified encoding for file names.
- ZipFile(SeekableByteChannel, String, String, boolean, boolean) - Constructor for class org.apache.commons.compress.archivers.zip.ZipFile
-
Opens the given channel for reading, assuming the specified encoding for file names.
- ZipLong - Class in org.apache.commons.compress.archivers.zip
-
Utility class that represents a four byte integer with conversion rules for the little endian byte order of ZIP files.
- 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.
- ZipLong(int) - Constructor for class org.apache.commons.compress.archivers.zip.ZipLong
-
create instance from a java int.
- ZipLong(long) - Constructor for class org.apache.commons.compress.archivers.zip.ZipLong
-
Create instance from a number.
- ZipMethod - Enum in org.apache.commons.compress.archivers.zip
-
List of known compression methods Many of these methods are currently not supported by commons compress
- ZipShort - Class in org.apache.commons.compress.archivers.zip
-
Utility class that represents a two byte integer with conversion rules for the little endian byte order of ZIP files.
- 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.
- ZipShort(int) - Constructor for class org.apache.commons.compress.archivers.zip.ZipShort
-
Create instance from a number.
- 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
- ZLIB - org.apache.commons.compress.archivers.dump.DumpArchiveConstants.COMPRESSION_TYPE
- ZSTANDARD - Static variable in class org.apache.commons.compress.compressors.CompressorStreamFactory
-
Constant (value "zstd") used to identify the Zstandard compression algorithm.
All Classes All Packages