org.jivesoftware.smack.compression
Class JzlibInputOutputStream
java.lang.Object
org.jivesoftware.smack.compression.XMPPInputOutputStream
org.jivesoftware.smack.compression.JzlibInputOutputStream
public class JzlibInputOutputStream
- extends XMPPInputOutputStream
This class provides XMPP "zlib" compression with the help of JZLib. Note that jzlib-1.0.7 must be used (i.e. in the
classpath), newer versions won't work!
- Author:
- Florian Schmaus
- See Also:
- JZLib
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JzlibInputOutputStream
public JzlibInputOutputStream()
isSupported
public boolean isSupported()
- Specified by:
isSupported
in class XMPPInputOutputStream
getInputStream
public InputStream getInputStream(InputStream inputStream)
throws SecurityException,
NoSuchMethodException,
IllegalArgumentException,
IllegalAccessException,
InvocationTargetException,
InstantiationException
- Specified by:
getInputStream
in class XMPPInputOutputStream
- Throws:
SecurityException
NoSuchMethodException
IllegalArgumentException
IllegalAccessException
InvocationTargetException
InstantiationException
getOutputStream
public OutputStream getOutputStream(OutputStream outputStream)
throws SecurityException,
NoSuchMethodException,
IllegalArgumentException,
InstantiationException,
IllegalAccessException,
InvocationTargetException
- Specified by:
getOutputStream
in class XMPPInputOutputStream
- Throws:
SecurityException
NoSuchMethodException
IllegalArgumentException
InstantiationException
IllegalAccessException
InvocationTargetException
Copyright © 2003-2007 Jive Software.