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 | 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)
Create an archive input stream from an archiver name and an input stream.
|
ArchiveOutputStream |
ArchiveStreamFactory.createArchiveOutputStream(String archiverName,
OutputStream out)
Create an archive output stream from an archiver name and an input 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 © 2013 The Apache Software Foundation. All rights reserved.