| Package | Description |
|---|---|
| org.apache.commons.compress.archivers.jar |
Provides stream classes for reading and writing archives using the ZIP format with some extensions for the special case of JAR archives.
|
| org.apache.commons.compress.archivers.zip |
Provides stream classes for reading and writing archives using the ZIP format.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JarArchiveEntry
|
| Constructor and Description | |
|---|---|
JarArchiveEntry(ZipArchiveEntry
|
| Modifier and Type | Method and Description |
|---|---|
ZipArchiveEntry |
UnsupportedZipFeatureException.getEntry()
The entry using the unsupported feature.
|
ZipArchiveEntry |
ZipFile.getEntry(String
Returns a named entry - or
null if no entry by that name exists.
|
ZipArchiveEntry |
ZipArchiveInputStream.getNextZipEntry()
|
| Modifier and Type | Method and Description |
|---|---|
Enumeration |
ZipFile.getEntries()
Returns all entries.
|
Iterable |
ZipFile.getEntries(String
Returns all named entries in the same order they appear within the archive's central directory.
|
Enumeration |
ZipFile.getEntriesInPhysicalOrder()
Returns all entries in physical order.
|
Iterable |
ZipFile.getEntriesInPhysicalOrder(String
Returns all named entries in the same order their contents appear within the archive.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ZipFile.canReadEntryData(ZipArchiveEntry
Whether this class is able to read the given entry.
|
InputStream |
ZipFile.getInputStream(ZipArchiveEntry
Returns an InputStream for reading the contents of the given entry.
|
String |
ZipFile.getUnixSymlink(ZipArchiveEntry
Convenience method to return the entry's content as a String if isUnixSymlink() returns true for it, otherwise returns null.
|
protected void |
ZipArchiveOutputStream.writeCentralFileHeader(ZipArchiveEntry
Writes the central file header entry.
|
protected void |
ZipArchiveOutputStream.writeDataDescriptor(ZipArchiveEntry
Writes the data descriptor entry.
|
protected void |
ZipArchiveOutputStream.writeLocalFileHeader(ZipArchiveEntry
Writes the local file header entry
|
| Constructor and Description | |
|---|---|
UnsupportedZipFeatureException(UnsupportedZipFeatureException
Creates an exception.
|
|
UnsupportedZipFeatureException(ZipMethod
Creates an exception for archives that use an unsupported compression algorithm.
|
|
ZipArchiveEntry(ZipArchiveEntry
Creates a new zip entry with fields taken from the specified zip entry.
|