# Package org.apache.commons.compress.utils

package org.apache.commons.compress.utils
Provides utilities used internally by the compress library.

- Related Packages
  Package
  Description
  org.apache.commons.compress
  org.apache.commons.compress.archivers
  Provides a unified API and factories for dealing with archives in different formats.
  org.apache.commons.compress.changes
  EXPERIMENTAL support for changesets that are applied to archives.
  org.apache.commons.compress.compressors
  Provides a unified API and factories for dealing with compressed streams.
  org.apache.commons.compress.harmony
  Internal package.
  org.apache.commons.compress.parallel
  Provides common API classes for parallel compression features.
- Class
  Description
  ArchiveUtils
  Generic Archive utilities
  BitInputStream
  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.ByteConsumer
  Used to consume bytes.
  ByteUtils.ByteSupplier
  Used to supply bytes.
  ByteUtils.InputStreamByteSupplier
  `ByteUtils.ByteSupplier` based on `InputStream`.
  ByteUtils.OutputStreamByteConsumer
  `ByteUtils.ByteConsumer` based on `OutputStream`.
  CharsetNames
  Character encoding names required of every implementation of the Java platform.
  Charsets
  Charsets required of every implementation of the Java platform.
  ChecksumCalculatingInputStream
  Calculates the checksum of the data read.
  ChecksumVerifyingInputStream
  Verifies the checksum of the data read once the stream is exhausted.
  CloseShieldFilterInputStream
  Re-implements `FilterInputStream.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.
  ExactMath
  PRIVATE.
  FileNameUtils
  Generic file name utilities.
  FixedLengthBlockOutputStream
  This class supports writing to an OutputStream or WritableByteChannel in fixed length blocks.
  FlushShieldFilterOutputStream
  Re-implements `FilterOutputStream.flush()` to do nothing.
  InputStreamStatistics
  This interface provides statistics on the current decompression stream.
  IOUtils
  Utility functions
  Iterators
  Iterator utilities.
  Lists
  List utilities
  MultiReadOnlySeekableByteChannel
  Read-Only Implementation of `SeekableByteChannel` that concatenates a collection of other `SeekableByteChannel`s.
  OsgiUtils
  Utilities for dealing with OSGi environments.
  SeekableInMemoryByteChannel
  A `SeekableByteChannel` implementation that wraps a byte[].
  ServiceLoaderIterator<E>
  Deprecated.
  No longer needed.
  Sets
  Set utilities
  SkipShieldingInputStream
  A wrapper that overwrites `SkipShieldingInputStream.skip(long)` and delegates to `FilterInputStream.read()` instead.
  TimeUtils
  Utility class for handling time-related types and conversions.