java.io.Closeable, java.io.Flushable, java.lang.AutoCloseablepublic class OpcOutputStream
extends java.util.zip.DeflaterOutputStream
| Constructor | Description |
|---|---|
OpcOutputStream(java.io.OutputStream out) |
Creates ZIP64 output stream
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
void |
closeEntry() |
|
void |
finish() |
|
void |
putNextEntry(java.util.zip.ZipEntry e) |
|
void |
setLevel(int level) |
|
void |
write(byte[] b,
int off,
int len) |
public OpcOutputStream(java.io.OutputStream out)
out - target stream to write compressed data topublic void setLevel(int level)
Deflater.setLevel(int)public void putNextEntry(java.util.zip.ZipEntry e)
throws java.io.IOException
java.io.IOExceptionZipOutputStream.putNextEntry(ZipEntry)public void closeEntry()
throws java.io.IOException
java.io.IOExceptionZipOutputStream.closeEntry()public void finish()
throws java.io.IOException
finish in class java.util.zip.DeflaterOutputStreamjava.io.IOExceptionZipOutputStream.finish()public void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.util.zip.DeflaterOutputStreamjava.io.IOExceptionZipOutputStream.write(byte[], int, int)public void close()
throws java.io.IOException
close in interface java.lang.AutoCloseableclose in interface java.io.Closeableclose in class java.util.zip.DeflaterOutputStreamjava.io.IOExceptionZipOutputStream.close()Copyright © 2019. All rights reserved.