private final class RawZipOutputStream.RawOutputMethod extends Object implements OutputMethod
| Modifier and Type | Field and Description |
|---|---|
private long |
dataStart
Start of entry data.
|
(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 reentrant!init in interface OutputMethodentry - the ZIP entry to check and update.ZipExceptionpublic OutputStream start() throws IOException
start in interface OutputMethodIOException - on any I/O error.Copyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.