public class ExtZipOutputStream extends java.lang.Object implements ZipConstants
CENSIG, ENDSIG, EXTSIG, LOCSIG
Constructor and Description |
---|
ExtZipOutputStream(java.io.File file) |
ExtZipOutputStream(java.io.OutputStream out) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
finish()
Finishes writing the contents of the ZIP output stream.
|
java.lang.String |
getComment() |
int |
getWritten() |
void |
putNextEntry(ExtZipEntry entry) |
void |
setComment(java.lang.String comment) |
void |
writeBytes(byte[] b) |
void |
writeBytes(byte[] b,
int off,
int len) |
void |
writeInt(long v) |
void |
writeShort(int v) |
public ExtZipOutputStream(java.io.File file) throws java.io.IOException
java.io.IOException
public ExtZipOutputStream(java.io.OutputStream out)
public int getWritten()
public void writeBytes(byte[] b) throws java.io.IOException
java.io.IOException
public void writeShort(int v) throws java.io.IOException
java.io.IOException
public void writeInt(long v) throws java.io.IOException
java.io.IOException
public void writeBytes(byte[] b, int off, int len) throws java.io.IOException
java.io.IOException
public void putNextEntry(ExtZipEntry entry) throws java.io.IOException
java.io.IOException
public void finish() throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
public java.lang.String getComment()
public void setComment(java.lang.String comment)