Package org.apache.commons.compress.utils
package org.apache.commons.compress.utils
Provides utilities used internally by the compress library.
-
ClassDescriptionGeneric Archive utilitiesReads bits from an InputStream.NIO backed bounded input stream for reading a predefined amount of data from.A stream that limits reading from a wrapped stream to a given number of bytes.InputStream that delegates requests to the underlying SeekableByteChannel, making sure that only bytes from a certain range can be read.Utility methods for reading and writing bytes.Used to consume bytes.Used to supply bytes.
ByteUtils.ByteSupplier
based onInputStream
.ByteUtils.ByteConsumer
based onOutputStream
.Character encoding names required of every implementation of the Java platform.Charsets required of every implementation of the Java platform.Calculates the checksum of the data read.Verifies the checksum of the data read once the stream is exhausted.Re-implementsFilterInputStream.close()
to do nothing.Input stream that tracks the number of bytes read.Stream that tracks the number of bytes read.A stream that verifies the CRC of the data read once the stream is exhausted.PRIVATE.Generic file name utilities.This class supports writing to an OutputStream or WritableByteChannel in fixed length blocks.Re-implementsFilterOutputStream.flush()
to do nothing.This interface provides statistics on the current decompression stream.Utility functionsIterator utilities.List utilitiesRead-Only Implementation ofSeekableByteChannel
that concatenates a collection of otherSeekableByteChannel
s.Utilities for dealing with OSGi environments.ASeekableByteChannel
implementation that wraps a byte[].Deprecated.No longer needed.Set utilitiesA wrapper that overwritesSkipShieldingInputStream.skip(long)
and delegates toFilterInputStream.read()
instead.Utility class for handling time-related types and conversions.