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.
|
Modifier and Type | Class and Description |
---|---|
class |
StreamingNotSupportedException
Exception thrown by ArchiveStreamFactory if a format is requested/detected that doesn't support streaming.
|
Modifier and Type | Method and Description |
---|---|
ArchiveInputStream |
ArchiveStreamFactory.createArchiveInputStream(java.io.InputStream in)
Create an archive input stream from an input stream, autodetecting
the archive type from the first few bytes of the stream.
|
private static ArchiveInputStream |
Lister.createArchiveInputStream(java.lang.String[] args,
java.io.InputStream fis) |
ArchiveInputStream |
ArchiveStreamFactory.createArchiveInputStream(java.lang.String archiverName,
java.io.InputStream in)
Creates an archive input stream from an archiver name and an input stream.
|
ArchiveInputStream |
ArchiveStreamFactory.createArchiveInputStream(java.lang.String archiverName,
java.io.InputStream in,
java.lang.String actualEncoding) |
ArchiveInputStream |
ArchiveStreamProvider.createArchiveInputStream(java.lang.String name,
java.io.InputStream in,
java.lang.String encoding)
Creates an archive input stream from an archiver name and an input
stream.
|
ArchiveOutputStream |
ArchiveStreamFactory.createArchiveOutputStream(java.lang.String archiverName,
java.io.OutputStream out)
Creates an archive output stream from an archiver name and an output stream.
|
ArchiveOutputStream |
ArchiveStreamFactory.createArchiveOutputStream(java.lang.String archiverName,
java.io.OutputStream out,
java.lang.String actualEncoding) |
ArchiveOutputStream |
ArchiveStreamProvider.createArchiveOutputStream(java.lang.String name,
java.io.OutputStream out,
java.lang.String encoding)
Creates an archive output stream from an archiver name and an output
stream.
|
static java.lang.String |
ArchiveStreamFactory.detect(java.io.InputStream in)
Try to determine the type of Archiver
|
Constructor and Description |
---|
ArjArchiveInputStream(java.io.InputStream inputStream)
Constructs the ArjInputStream, taking ownership of the inputStream that is passed in,
and using the CP437 character encoding.
|
ArjArchiveInputStream(java.io.InputStream inputStream,
java.lang.String charsetName)
Constructs the ArjInputStream, taking ownership of the inputStream that is passed in.
|
Constructor and Description |
---|
DumpArchiveInputStream(java.io.InputStream is)
Constructor using the platform's default encoding for file
names.
|
DumpArchiveInputStream(java.io.InputStream is,
java.lang.String encoding)
Constructor.
|