Package org.apache.commons.compress.utils
package org.apache.commons.compress.utils
Contains 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.A stream that calculates the checksum of the data read.A stream that 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.Generic file name utilities.This class supports writing to an OutputStream or WritableByteChannel in fixed length blocks.Helper class to provide channel wrapper for arbitrary output stream that doesn't alter the size of writes.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[].Iterates all services for a given class through the standardServiceLoader
mechanism.Set utilitiesA wrapper that overwritesSkipShieldingInputStream.skip(long)
and delegates toFilterInputStream.read()
instead.