public class ZLIBCompression extends java.lang.Object implements Compressor
Constructor and Description |
---|
ZLIBCompression() |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getInputStream(java.io.InputStream file)
Get the input stream for the compression.
|
java.io.OutputStream |
getOutputStream(java.io.OutputStream file)
Get the output stream from the compression.
|
public java.io.InputStream getInputStream(java.io.InputStream file)
Compressor
getInputStream
in interface Compressor
file
- The file input stream for the file.public java.io.OutputStream getOutputStream(java.io.OutputStream file)
Compressor
getOutputStream
in interface Compressor
file
- The file output stream for the file.