Methods Summary |
---|
public synchronized void | close()
if (null != _compressingOutputStream) {
_compressingOutputStream.flush();
_compressingOutputStream.close();
}
if (null != _compressingInputStream) {
_compressingInputStream.close();
}
|
public java.io.InputStream | getInputStream()
if (null == _compressingInputStream) {
InputStream originalInputStream = super.getInputStream();
_compressingInputStream = new CompressingInputStream(originalInputStream);
}
return _compressingInputStream;
|
public java.io.OutputStream | getOutputStream()
if (null == _compressingOutputStream) {
OutputStream originalOutputStream = super.getOutputStream();
_compressingOutputStream = new CompressingOutputStream(originalOutputStream);
}
return _compressingOutputStream;
|