Example usage for Java java.util.zip GZIPOutputStream fields, constructors, methods, implement or subclass
The text is from its open source code.
GZIPOutputStream(OutputStream out) Creates a new output stream with a default buffer size. | |
GZIPOutputStream(OutputStream out, int size) Creates a new output stream with the specified buffer size. | |
GZIPOutputStream(OutputStream out, boolean syncFlush) Creates a new output stream with a default buffer size and the specified flush mode. |
void | close() Writes remaining compressed data to the output stream and closes the underlying stream. |
void | finish() Finishes writing compressed data to the output stream without closing the underlying stream. |
void | flush() Flushes the compressed output stream. |
void | write(int b) Writes a byte to the compressed output stream. |
void | write(byte[] buf, int off, int len) Writes array of bytes to the compressed output stream. |