public abstract class XMPPInputOutputStream extends Object
Modifier and Type | Class and Description |
---|---|
static class |
XMPPInputOutputStream.FlushMethod |
Modifier and Type | Field and Description |
---|---|
protected String |
compressionMethod |
protected static XMPPInputOutputStream.FlushMethod |
flushMethod |
Constructor and Description |
---|
XMPPInputOutputStream() |
Modifier and Type | Method and Description |
---|---|
String |
getCompressionMethod() |
abstract InputStream |
getInputStream(InputStream inputStream) |
abstract OutputStream |
getOutputStream(OutputStream outputStream) |
abstract boolean |
isSupported() |
static void |
setFlushMethod(XMPPInputOutputStream.FlushMethod flushMethod)
Set the used flushed method when compressing data.
|
protected static XMPPInputOutputStream.FlushMethod flushMethod
protected String compressionMethod
public XMPPInputOutputStream()
public static void setFlushMethod(XMPPInputOutputStream.FlushMethod flushMethod)
flushMethod
- public String getCompressionMethod()
public abstract boolean isSupported()
public abstract InputStream getInputStream(InputStream inputStream) throws Exception
Exception
public abstract OutputStream getOutputStream(OutputStream outputStream) throws Exception
Exception