private final class RawZipOutputStream.RawOutputMethod extends Object implements OutputMethod
| Modifier and Type | Field and Description |
|---|---|
private long |
dataStart
Start of entry data.
|
(package private) ZipEntry |
entry |
(package private) boolean |
process |
| Constructor and Description |
|---|
RawZipOutputStream.RawOutputMethod(boolean process) |
| Modifier and Type | Method and Description |
|---|---|
void |
finish()
Checks the compressed entry size and optionally writes the Data
Descriptor.
|
void |
init(ZipEntry entry)
Checks the given
entry and updates it. |
OutputStream |
start()
Writes the Local File Header.
|
RawZipOutputStream.RawOutputMethod(boolean process)
public void finish()
throws IOException
finish in interface OutputMethodIOException - on any I/O error.public void init(ZipEntry entry) throws ZipException
OutputMethodentry and updates it.
This method may be called multiple times, so it must be idempotent with
respect to its side effects on entry!init in interface OutputMethodentry - the ZIP entry to check and update.ZipException - if checking the given entry failed for
some reason.public OutputStream start() throws IOException
start in interface OutputMethodIOException - on any I/O error.Copyright © 2005-2012 Schlichtherle IT Services. All Rights Reserved.