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,
Charset charset,
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) |
flush
public ZipOutputStream(OutputStream outputStream) throws IOException
IOException
public ZipOutputStream(OutputStream outputStream, Charset charset) throws IOException
IOException
public ZipOutputStream(OutputStream outputStream, char[] password) throws IOException
IOException
public ZipOutputStream(OutputStream outputStream, char[] password, Charset charset) throws IOException
IOException
public ZipOutputStream(OutputStream outputStream, char[] password, Charset charset, ZipModel zipModel) throws IOException
IOException
public void putNextEntry(ZipParameters zipParameters) throws IOException
IOException
public void write(int b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
public FileHeader closeEntry() throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
public void setComment(String comment) throws IOException
IOException
Copyright © 2020. All rights reserved.