# 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
  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
  Deprecated.
  Use `BoundedInputStream`.
  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
  Deprecated.
  Unused
  ByteUtils.OutputStreamByteConsumer
  `ByteUtils.ByteConsumer` based on `OutputStream`.
  CharsetNames
  Deprecated.
  Use `StandardCharsets`.
  Charsets
  Deprecated.
  Use `Charsets`.
  ChecksumCalculatingInputStream
  Deprecated.
  Use `CheckedInputStream`.
  ChecksumVerifyingInputStream
  Verifies the checksum of the data read once the stream is exhausted.
  CloseShieldFilterInputStream
  Deprecated.
  Use `CloseShieldInputStream`.
  CountingInputStream
  Deprecated.
  Use `CountingInputStream`.
  CountingOutputStream
  Deprecated.
  Use `CountingOutputStream`.
  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
  Implements a read-only `SeekableByteChannel` that concatenates a collection of other `SeekableByteChannel`s.
  OsgiUtils
  Utilities for dealing with OSGi environments.
  ParsingUtils
  Utility methods for parsing data and converting it to other formats.
  SeekableInMemoryByteChannel
  A `SeekableByteChannel` implementation that wraps a byte[].
  ServiceLoaderIterator<E>
  Deprecated.
  No longer needed.
  Sets
  Set utilities
  SkipShieldingInputStream
  Deprecated.
  No longer used.
  TimeUtils
  Utility class for handling time-related types and conversions.