-
public class ZipArchiveEntryRequestA Thread-safe representation of a ZipArchiveEntry that is used to add entries to parallel archives.
-
-
Field Summary
Fields Modifier and Type Field Description private final intmethod
-
Method Summary
Modifier and Type Method Description intgetMethod()The compression method to use static ZipArchiveEntryRequestcreateZipArchiveEntryRequest(ZipArchiveEntry zipArchiveEntry, InputStreamSupplier payloadSupplier)Create a ZipArchiveEntryRequest InputStreamgetPayloadStream()The payload that will be added to this zip entry -
-
Method Detail
-
getMethod
int getMethod()
The compression method to use
-
createZipArchiveEntryRequest
static ZipArchiveEntryRequest createZipArchiveEntryRequest(ZipArchiveEntry zipArchiveEntry, InputStreamSupplier payloadSupplier)
Create a ZipArchiveEntryRequest
- Parameters:
zipArchiveEntry- The entry to usepayloadSupplier- The payload that will be added to the zip entry.
-
getPayloadStream
InputStream getPayloadStream()
The payload that will be added to this zip entry
-
-
-
-