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 entry) |
Modifier and Type | Method and Description |
---|---|
ZipArchiveEntry |
UnsupportedZipFeatureException.getEntry()
The entry using the unsupported feature.
|
ZipArchiveEntry |
ZipFile.getEntry(String name)
Returns a named entry - or
null if no entry by
that name exists. |
ZipArchiveEntry |
ZipArchiveInputStream.getNextZipEntry() |
Modifier and Type | Method and Description |
---|---|
Enumeration<ZipArchiveEntry> |
ZipFile.getEntries()
Returns all entries.
|
Iterable<ZipArchiveEntry> |
ZipFile.getEntries(String name)
Returns all named entries in the same order they appear within
the archive's central directory.
|
Enumeration<ZipArchiveEntry> |
ZipFile.getEntriesInPhysicalOrder()
Returns all entries in physical order.
|
Iterable<ZipArchiveEntry> |
ZipFile.getEntriesInPhysicalOrder(String name)
Returns all named entries in the same order their contents
appear within the archive.
|
Modifier and Type | Method and Description |
---|---|
void |
ParallelScatterZipCreator.addArchiveEntry(ZipArchiveEntry zipArchiveEntry,
InputStreamSupplier source)
Adds an archive entry to this archive.
|
void |
ZipArchiveOutputStream.addRawArchiveEntry(ZipArchiveEntry entry,
InputStream rawStream)
Adds an archive entry with a raw input stream.
|
boolean |
ZipFile.canReadEntryData(ZipArchiveEntry ze)
Whether this class is able to read the given entry.
|
Callable<Object> |
ParallelScatterZipCreator.createCallable(ZipArchiveEntry zipArchiveEntry,
InputStreamSupplier source)
Create a callable that will compress the given archive entry.
|
static ZipArchiveEntryRequest |
ZipArchiveEntryRequest.createZipArchiveEntryRequest(ZipArchiveEntry zipArchiveEntry,
InputStreamSupplier payloadSupplier)
Create a ZipArchiveEntryRequest
|
InputStream |
ZipFile.getInputStream(ZipArchiveEntry ze)
Returns an InputStream for reading the contents of the given entry.
|
String |
ZipFile.getUnixSymlink(ZipArchiveEntry entry)
Convenience method to return the entry's content as a String if isUnixSymlink()
returns true for it, otherwise returns null.
|
boolean |
ZipArchiveEntryPredicate.test(ZipArchiveEntry zipArchiveEntry)
Indicate if the given entry should be included in the operation
|
protected void |
ZipArchiveOutputStream.writeCentralFileHeader(ZipArchiveEntry ze)
Writes the central file header entry.
|
protected void |
ZipArchiveOutputStream.writeDataDescriptor(ZipArchiveEntry ze)
Writes the data descriptor entry.
|
protected void |
ZipArchiveOutputStream.writeLocalFileHeader(ZipArchiveEntry ze)
Writes the local file header entry
|
Constructor and Description |
---|
UnsupportedZipFeatureException(UnsupportedZipFeatureException.Feature reason,
ZipArchiveEntry entry)
Creates an exception.
|
UnsupportedZipFeatureException(ZipMethod method,
ZipArchiveEntry entry)
Creates an exception for archives that use an unsupported
compression algorithm.
|
ZipArchiveEntry(ZipArchiveEntry entry)
Creates a new zip entry with fields taken from the specified zip entry.
|
Copyright © 2015 The Apache Software Foundation. All rights reserved.