Package | Description |
---|---|
org.apache.commons.compress.archivers.cpio |
Provides stream classes for reading and writing archives using
the CPIO 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.tar |
Provides stream classes for reading and writing archives using
the TAR format.
|
org.apache.commons.compress.archivers.zip |
Provides stream classes for reading and writing archives using
the ZIP format.
|
Modifier and Type | Field and Description |
---|---|
private ZipEncoding |
CpioArchiveInputStream.zipEncoding
The encoding to use for filenames and labels.
|
private ZipEncoding |
CpioArchiveOutputStream.zipEncoding
The encoding to use for filenames and labels.
|
Modifier and Type | Field and Description |
---|---|
private ZipEncoding |
DumpArchiveInputStream.zipEncoding
The encoding to use for filenames and labels.
|
Modifier and Type | Method and Description |
---|---|
(package private) static java.lang.String |
DumpArchiveUtil.decode(ZipEncoding encoding,
byte[] b,
int offset,
int len)
Decodes a byte array to a string.
|
Constructor and Description |
---|
DumpArchiveSummary(byte[] buffer,
ZipEncoding encoding) |
Modifier and Type | Field and Description |
---|---|
private static ZipEncoding |
TarArchiveOutputStream.ASCII |
(package private) static ZipEncoding |
TarUtils.DEFAULT_ENCODING |
(package private) static ZipEncoding |
TarUtils.FALLBACK_ENCODING
Encapsulates the algorithms used up to Commons Compress 1.3 as
ZipEncoding.
|
private ZipEncoding |
TarArchiveInputStream.zipEncoding
The encoding of the file
|
private ZipEncoding |
TarArchiveOutputStream.zipEncoding |
Modifier and Type | Method and Description |
---|---|
static int |
TarUtils.formatNameBytes(java.lang.String name,
byte[] buf,
int offset,
int length,
ZipEncoding encoding)
Copy a name into a buffer.
|
static java.lang.String |
TarUtils.parseName(byte[] buffer,
int offset,
int length,
ZipEncoding encoding)
Parse an entry name from a buffer.
|
void |
TarArchiveEntry.parseTarHeader(byte[] header,
ZipEncoding encoding)
Parse an entry's header information from a header buffer.
|
private void |
TarArchiveEntry.parseTarHeader(byte[] header,
ZipEncoding encoding,
boolean oldStyle) |
void |
TarArchiveEntry.writeEntryHeader(byte[] outbuf,
ZipEncoding encoding,
boolean starMode)
Write an entry's header information to a header buffer.
|
Constructor and Description |
---|
TarArchiveEntry(byte[] headerBuf,
ZipEncoding encoding)
Construct an entry from an archive's header bytes.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
NioZipEncoding
A ZipEncoding, which uses a java.nio
Charset to encode names. |
Modifier and Type | Field and Description |
---|---|
(package private) static ZipEncoding |
ZipEncodingHelper.UTF8_ZIP_ENCODING
the encoding UTF-8
|
private ZipEncoding |
ZipArchiveInputStream.zipEncoding
The zip encoding to use for filenames and the file comment.
|
private ZipEncoding |
ZipFile.zipEncoding
The zip encoding to use for filenames and the file comment.
|
private ZipEncoding |
ZipArchiveOutputStream.zipEncoding
The zip encoding to use for filenames and the file comment.
|
Modifier and Type | Method and Description |
---|---|
private ZipEncoding |
ZipArchiveOutputStream.getEntryEncoding(ZipArchiveEntry ze) |
static ZipEncoding |
ZipEncodingHelper.getZipEncoding(java.lang.String name)
Instantiates a zip encoding.
|