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(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 |
ArchiveStreamFactory.createArchiveInputStream(String archiverName,
InputStream in,
String actualEncoding) |
ArchiveInputStream |
ArchiveStreamProvider.createArchiveInputStream(String name,
InputStream in,
String encoding)
Creates an archive input stream from an archiver name and an input
stream.
|
ArchiveOutputStream |
ArchiveStreamFactory.createArchiveOutputStream(String archiverName,
OutputStream out)
Creates an archive output stream from an archiver name and an output stream.
|
ArchiveOutputStream |
ArchiveStreamFactory.createArchiveOutputStream(String archiverName,
OutputStream out,
String actualEncoding) |
ArchiveOutputStream |
ArchiveStreamProvider.createArchiveOutputStream(String name,
OutputStream out,
String encoding)
Creates an archive output stream from an archiver name and an output
stream.
|
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.
|
Constructor and Description |
---|
DumpArchiveInputStream(InputStream is)
Constructor using the platform's default encoding for file
names.
|
DumpArchiveInputStream(InputStream is,
String encoding)
Constructor.
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.