public class Java7ZlibInputOutputStream extends XMPPInputOutputStream
deflate()
method is available on API 19 or higher.
See also:
XMPPInputOutputStream.FlushMethod
compressionMethod, flushMethod
Constructor and Description |
---|
Java7ZlibInputOutputStream() |
Modifier and Type | Method and Description |
---|---|
InputStream |
getInputStream(InputStream inputStream) |
OutputStream |
getOutputStream(OutputStream outputStream) |
boolean |
isSupported() |
getCompressionMethod, setFlushMethod
public Java7ZlibInputOutputStream()
public boolean isSupported()
isSupported
in class XMPPInputOutputStream
public InputStream getInputStream(InputStream inputStream)
getInputStream
in class XMPPInputOutputStream
public OutputStream getOutputStream(OutputStream outputStream)
getOutputStream
in class XMPPInputOutputStream