public class ZipArchiveEntryRequest extends Object
Modifier and Type | Method and Description |
---|---|
static ZipArchiveEntryRequest |
createZipArchiveEntryRequest(ZipArchiveEntry zipArchiveEntry,
InputStreamSupplier payloadSupplier)
Create a ZipArchiveEntryRequest
|
int |
getMethod()
The compression method to use
|
InputStream |
getPayloadStream()
The payload that will be added to this zip entry
|
public static ZipArchiveEntryRequest createZipArchiveEntryRequest(ZipArchiveEntry zipArchiveEntry, InputStreamSupplier payloadSupplier)
zipArchiveEntry
- The entry to usepayloadSupplier
- The payload that will be added to the zip entry.public InputStream getPayloadStream()
public int getMethod()
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.