Class XMPPInputOutputStream
java.lang.Object
org.jivesoftware.smack.compression.XMPPInputOutputStream
- Direct Known Subclasses:
Java7ZlibInputOutputStream
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected final String
protected static XMPPInputOutputStream.FlushMethod
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract InputStream
getInputStream
(InputStream inputStream) abstract OutputStream
getOutputStream
(OutputStream outputStream) abstract boolean
static void
setFlushMethod
(XMPPInputOutputStream.FlushMethod flushMethod) Set the used flushed method when compressing data.
-
Field Details
-
flushMethod
-
compressionMethod
-
-
Constructor Details
-
XMPPInputOutputStream
-
-
Method Details
-
setFlushMethod
Set the used flushed method when compressing data. The default is full flush which may not achieve the best compression ratio, but provides better security against certain attacks. Only use sync flush if you fully understand the implications.- Parameters:
flushMethod
- TODO javadoc me please- See Also:
-
getFlushMethod
-
getCompressionMethod
-
isSupported
-
getInputStream
- Throws:
IOException
-
getOutputStream
- Throws:
IOException
-