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 java.io.InputStream getInputStream(java.io.InputStream inputStream)
throws java.lang.SecurityException,
java.lang.NoSuchMethodException,
java.lang.IllegalArgumentException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
java.lang.InstantiationException
- Specified by:
getInputStream
in class XMPPInputOutputStream
- Throws:
java.lang.SecurityException
java.lang.NoSuchMethodException
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.InstantiationException
getOutputStream
public java.io.OutputStream getOutputStream(java.io.OutputStream outputStream)
throws java.lang.SecurityException,
java.lang.NoSuchMethodException,
java.lang.IllegalArgumentException,
java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
- Specified by:
getOutputStream
in class XMPPInputOutputStream
- Throws:
java.lang.SecurityException
java.lang.NoSuchMethodException
java.lang.IllegalArgumentException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
Copyright © 2003-2007 Jive Software.