## Uses of Class
org.apache.commons.compress.archivers.ArchiveException

- Packages that use ArchiveException
  Package | Description
  --- | ---
  org.apache.commons.compress.archivers | Provides a unified API and factories for dealing with archives in different formats.
  org.apache.commons.compress.archivers.arj | Provides stream classes for reading archives using the ARJ format.
  org.apache.commons.compress.archivers.dump | This package provides stream classes for reading archives using the Unix DUMP format.
  org.apache.commons.compress.archivers.examples | Contains example code that is not guaranteed to provide a stable API across releases of Commons Compress.

- - ### Uses of ArchiveException in org.apache.commons.compress.archivers

    Subclasses of ArchiveException in org.apache.commons.compress.archivers
    Modifier and Type | Class and Description
    --- | ---
    `class` | `StreamingNotSupportedException` Exception thrown by ArchiveStreamFactory if a format is requested/detected that doesn't support streaming.

    Methods in org.apache.commons.compress.archivers that throw ArchiveException
    Modifier and Type | Method and Description
    --- | ---
    `ArchiveInputStream` | ArchiveStreamFactory.`createArchiveInputStream(InputStream in)` Create an archive input stream from an input stream, autodetecting the archive type from the first few bytes of the stream.
    `ArchiveInputStream` | ArchiveStreamFactory.`createArchiveInputStream(String archiverName, InputStream in)` Creates an archive input stream from an archiver name and an input stream.
    `ArchiveInputStream` | ArchiveStreamProvider.`createArchiveInputStream(String name, InputStream in, String encoding)` Creates an archive input stream from an archiver name and an input stream.
    `ArchiveInputStream` | ArchiveStreamFactory.`createArchiveInputStream(String archiverName, InputStream in, String actualEncoding)`
    `ArchiveOutputStream` | ArchiveStreamFactory.`createArchiveOutputStream(String archiverName, OutputStream out)` Creates an archive output stream from an archiver name and an output stream.
    `ArchiveOutputStream` | ArchiveStreamProvider.`createArchiveOutputStream(String name, OutputStream out, String encoding)` Creates an archive output stream from an archiver name and an output stream.
    `ArchiveOutputStream` | ArchiveStreamFactory.`createArchiveOutputStream(String archiverName, OutputStream out, String actualEncoding)`
    `static String` | ArchiveStreamFactory.`detect(InputStream in)` Try to determine the type of Archiver
    `static void` | Lister.`main(String[] args)` Runs this class from the command line.

  - ### Uses of ArchiveException in org.apache.commons.compress.archivers.arj

    Constructors in org.apache.commons.compress.archivers.arj that throw ArchiveException
    Constructor and Description
    `ArjArchiveInputStream(InputStream inputStream)` Constructs the ArjInputStream, taking ownership of the inputStream that is passed in, and using the CP437 character encoding.
    `ArjArchiveInputStream(InputStream inputStream, String charsetName)` Constructs the ArjInputStream, taking ownership of the inputStream that is passed in.

  - ### Uses of ArchiveException in org.apache.commons.compress.archivers.dump

    Constructors in org.apache.commons.compress.archivers.dump that throw ArchiveException
    Constructor and Description
    `DumpArchiveInputStream(InputStream is)` Constructor using the platform's default encoding for file names.
    `DumpArchiveInputStream(InputStream is, String encoding)` Constructor.

  - ### Uses of ArchiveException in org.apache.commons.compress.archivers.examples

    Methods in org.apache.commons.compress.archivers.examples that throw ArchiveException
    Modifier and Type | Method and Description
    --- | ---
    `void` | Archiver.`create(String format, File target, File directory)` Creates an archive `target` using the format `format` by recursively including all files and directories in `directory`.
    `void` | Archiver.`create(String format, OutputStream target, File directory)` Deprecated. this method leaks resources
    `void` | Archiver.`create(String format, OutputStream target, File directory, CloseableConsumer closeableConsumer)` Creates an archive `target` using the format `format` by recursively including all files and directories in `directory`.
    `void` | Archiver.`create(String format, Path target, Path directory)` Creates an archive `target` using the format `format` by recursively including all files and directories in `directory`.
    `void` | Archiver.`create(String format, SeekableByteChannel target, File directory)` Deprecated. this method leaks resources
    `void` | Archiver.`create(String format, SeekableByteChannel target, File directory, CloseableConsumer closeableConsumer)` Creates an archive `target` using the format `format` by recursively including all files and directories in `directory`.
    `void` | Expander.`expand(File archive, File targetDirectory)` Expands `archive` into `targetDirectory`.
    `void` | Expander.`expand(InputStream archive, File targetDirectory)` Deprecated. this method leaks resources
    `void` | Expander.`expand(InputStream archive, File targetDirectory, CloseableConsumer closeableConsumer)` Expands `archive` into `targetDirectory`.
    `void` | Expander.`expand(Path archive, Path targetDirectory)` Expands `archive` into `targetDirectory`.
    `void` | Expander.`expand(String format, File archive, File targetDirectory)` Expands `archive` into `targetDirectory`.
    `void` | Expander.`expand(String format, InputStream archive, File targetDirectory)` Deprecated. this method leaks resources
    `void` | Expander.`expand(String format, InputStream archive, File targetDirectory, CloseableConsumer closeableConsumer)` Expands `archive` into `targetDirectory`.
    `void` | Expander.`expand(String format, InputStream archive, Path targetDirectory, CloseableConsumer closeableConsumer)` Expands `archive` into `targetDirectory`.
    `void` | Expander.`expand(String format, Path archive, Path targetDirectory)` Expands `archive` into `targetDirectory`.
    `void` | Expander.`expand(String format, SeekableByteChannel archive, File targetDirectory)` Deprecated. this method leaks resources
    `void` | Expander.`expand(String format, SeekableByteChannel archive, File targetDirectory, CloseableConsumer closeableConsumer)` Expands `archive` into `targetDirectory`.
    `void` | Expander.`expand(String format, SeekableByteChannel archive, Path targetDirectory, CloseableConsumer closeableConsumer)` Expands `archive` into `targetDirectory`.

Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.