Package org.jivesoftware.smack.util
Class OutputStreamUtil
- java.lang.Object
-
- org.jivesoftware.smack.util.OutputStreamUtil
-
public class OutputStreamUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description OutputStreamUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
writeByteSafe(java.io.OutputStream outputStream, int i, java.lang.String message)
static void
writeResetAndFlush(java.io.ByteArrayOutputStream byteArrayOutputStream, java.io.OutputStream outputStream)
-
-
-
Constructor Detail
-
OutputStreamUtil
public OutputStreamUtil()
-
-
Method Detail
-
writeByteSafe
public static void writeByteSafe(java.io.OutputStream outputStream, int i, java.lang.String message) throws java.io.IOException
- Throws:
java.io.IOException
-
writeResetAndFlush
public static void writeResetAndFlush(java.io.ByteArrayOutputStream byteArrayOutputStream, java.io.OutputStream outputStream) throws java.io.IOException
- Throws:
java.io.IOException
-
-