Class Streams


  • public class Streams
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Streams()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String readAll​(java.io.InputStream stream)  
      static void sendAll​(java.io.OutputStream stream, byte[] bytes)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Streams

        public Streams()
    • Method Detail

      • readAll

        public static java.lang.String readAll​(java.io.InputStream stream)
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • sendAll

        public static void sendAll​(java.io.OutputStream stream,
                                   byte[] bytes)
                            throws java.io.IOException
        Throws:
        java.io.IOException