Class ArjArchiveInputStream

java.lang.Object
java.io.InputStream
org.apache.commons.compress.archivers.ArchiveInputStream
org.apache.commons.compress.archivers.arj.ArjArchiveInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

Implements the "arj" archive format as an InputStream.

Reference 1
Reference 2

Since:
1.6
This class is not thread-safe
  • Constructor Details

    • ArjArchiveInputStream

      Constructs the ArjInputStream, taking ownership of the inputStream that is passed in, and using the CP437 character encoding.
      Parameters:
      inputStream - the underlying stream, whose ownership is taken
      Throws:
      ArchiveException - if an exception occurs while reading
    • ArjArchiveInputStream

      public ArjArchiveInputStream(InputStream inputStream, String charsetName) throws ArchiveException
      Constructs the ArjInputStream, taking ownership of the inputStream that is passed in.
      Parameters:
      inputStream - the underlying stream, whose ownership is taken
      charsetName - the charset used for file names and comments in the archive. May be null to use the platform default.
      Throws:
      ArchiveException - if an exception occurs while reading
  • Method Details