Package | Description |
---|---|
java.util.zip |
Provides classes for reading and writing the standard ZIP and GZIP
file formats.
|
Modifier and Type | Field and Description |
---|---|
protected Deflater |
DeflaterInputStream.def
Compressor for this stream.
|
protected Deflater |
DeflaterOutputStream.def
Compressor for this stream.
|
Constructor and Description |
---|
DeflaterInputStream(InputStream in,
Deflater defl)
Creates a new input stream with the specified compressor and a
default buffer size.
|
DeflaterInputStream(InputStream in,
Deflater defl,
int bufLen)
Creates a new input stream with the specified compressor and buffer
size.
|
DeflaterOutputStream(OutputStream out,
Deflater def)
Creates a new output stream with the specified compressor and
a default buffer size.
|
DeflaterOutputStream(OutputStream out,
Deflater def,
boolean syncFlush)
Creates a new output stream with the specified compressor, flush
mode and a default buffer size.
|
DeflaterOutputStream(OutputStream out,
Deflater def,
int size)
Creates a new output stream with the specified compressor and
buffer size.
|
DeflaterOutputStream(OutputStream out,
Deflater def,
int size,
boolean syncFlush)
Creates a new output stream with the specified compressor,
buffer size and flush mode.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.