Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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