public interface ZipEntryLifecycleHandler
ZipEntry lifecycle when using FileTreeWriter
implementation for ZIPs, can handle ZipEntry creation and post-closing| Modifier and Type | Field and Description |
|---|---|
static ZipEntryLifecycleHandler |
DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
default java.util.zip.ZipEntry |
create(java.lang.String path)
Creates a new
ZipEntry with the given
path |
default void |
onClose(java.util.zip.ZipEntry entry)
Called after the
ZipEntry is closed, useful
if you want to add some details to the entry |
static final ZipEntryLifecycleHandler DEFAULT
default java.util.zip.ZipEntry create(java.lang.String path)
ZipEntry with the given
pathpath - The ZipEntry pathdefault void onClose(java.util.zip.ZipEntry entry)
ZipEntry is closed, useful
if you want to add some details to the entryentry - The closed entry