Package org.apache.commons.compress.utils
Contains utilities used internally by the compress library.
-
Interface Summary Interface Description ByteUtils.ByteConsumer Used to consume bytes.ByteUtils.ByteSupplier Used to supply bytes.InputStreamStatistics This interface provides statistics on the current decompression stream. -
Class Summary Class Description ArchiveUtils Generic Archive utilitiesBitInputStream Reads bits from an InputStream.BoundedArchiveInputStream NIO backed bounded input stream for reading a predefined amount of data from.BoundedInputStream A stream that limits reading from a wrapped stream to a given number of bytes.BoundedSeekableByteChannelInputStream InputStream that delegates requests to the underlying SeekableByteChannel, making sure that only bytes from a certain range can be read.ByteUtils Utility methods for reading and writing bytes.ByteUtils.InputStreamByteSupplier ByteUtils.ByteSupplier
based onInputStream
.ByteUtils.OutputStreamByteConsumer ByteUtils.ByteConsumer
based onOutputStream
.CharsetNames Character encoding names required of every implementation of the Java platform.Charsets Charsets required of every implementation of the Java platform.ChecksumCalculatingInputStream A stream that calculates the checksum of the data read.ChecksumVerifyingInputStream A stream that verifies the checksum of the data read once the stream is exhausted.CloseShieldFilterInputStream Re-implementsFilterInputStream.close()
to do nothing.CountingInputStream Input stream that tracks the number of bytes read.CountingOutputStream Stream that tracks the number of bytes read.CRC32VerifyingInputStream A stream that verifies the CRC of the data read once the stream is exhausted.FileNameUtils Generic file name utilities.FixedLengthBlockOutputStream This class supports writing to an OutputStream or WritableByteChannel in fixed length blocks.FlushShieldFilterOutputStream Re-implementsFilterOutputStream.flush()
to do nothing.IOUtils Utility functionsIterators Iterator utilities.Lists List utilitiesMultiReadOnlySeekableByteChannel Read-Only Implementation ofSeekableByteChannel
that concatenates a collection of otherSeekableByteChannel
s.OsgiUtils Utilities for dealing with OSGi environments.SeekableInMemoryByteChannel ASeekableByteChannel
implementation that wraps a byte[].ServiceLoaderIterator<E> Iterates all services for a given class through the standardServiceLoader
mechanism.Sets Set utilitiesSkipShieldingInputStream A wrapper that overwritesSkipShieldingInputStream.skip(long)
and delegates toFilterInputStream.read()
instead.