public class ZipArchiveEntryRequest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
method |
private InputStreamSupplier |
payloadSupplier |
private ZipArchiveEntry |
zipArchiveEntry |
Modifier | Constructor and Description |
---|---|
private |
ZipArchiveEntryRequest(ZipArchiveEntry zipArchiveEntry,
InputStreamSupplier payloadSupplier) |
Modifier and Type | Method and Description |
---|---|
static ZipArchiveEntryRequest |
createZipArchiveEntryRequest(ZipArchiveEntry zipArchiveEntry,
InputStreamSupplier payloadSupplier)
Create a ZipArchiveEntryRequest
|
int |
getMethod()
The compression method to use
|
java.io.InputStream |
getPayloadStream()
The paylaod that will be added to this zip entry
|
(package private) ZipArchiveEntry |
getZipArchiveEntry()
Gets the underlying entry.
|
private final ZipArchiveEntry zipArchiveEntry
private final InputStreamSupplier payloadSupplier
private final int method
private ZipArchiveEntryRequest(ZipArchiveEntry zipArchiveEntry, InputStreamSupplier payloadSupplier)
public static ZipArchiveEntryRequest createZipArchiveEntryRequest(ZipArchiveEntry zipArchiveEntry, InputStreamSupplier payloadSupplier)
zipArchiveEntry
- The entry to usepayloadSupplier
- The payload that will be added to the zip entry.public java.io.InputStream getPayloadStream()
public int getMethod()
ZipArchiveEntry getZipArchiveEntry()