public class ZipOutputStream extends OutputStream
| Constructor and Description |
|---|
ZipOutputStream(OutputStream outputStream) |
ZipOutputStream(OutputStream outputStream,
char[] password) |
ZipOutputStream(OutputStream outputStream,
char[] password,
Charset charset) |
ZipOutputStream(OutputStream outputStream,
char[] password,
Zip4jConfig zip4jConfig,
ZipModel zipModel) |
ZipOutputStream(OutputStream outputStream,
Charset charset) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
FileHeader |
closeEntry() |
void |
putNextEntry(ZipParameters zipParameters) |
void |
setComment(String comment) |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
flushpublic ZipOutputStream(OutputStream outputStream) throws IOException
IOExceptionpublic ZipOutputStream(OutputStream outputStream, Charset charset) throws IOException
IOExceptionpublic ZipOutputStream(OutputStream outputStream, char[] password) throws IOException
IOExceptionpublic ZipOutputStream(OutputStream outputStream, char[] password, Charset charset) throws IOException
IOExceptionpublic ZipOutputStream(OutputStream outputStream, char[] password, Zip4jConfig zip4jConfig, ZipModel zipModel) throws IOException
IOExceptionpublic void putNextEntry(ZipParameters zipParameters) throws IOException
IOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic FileHeader closeEntry() throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic void setComment(String comment) throws IOException
IOExceptionCopyright © 2021. All rights reserved.