Class StreamUtil


  • final class StreamUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      StreamUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static void copy​(java.io.InputStream in, java.io.OutputStream out)  
      (package private) static void safeClose​(java.io.Closeable closeable)  
      • Methods inherited from class java.lang.Object

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

      • StreamUtil

        StreamUtil()
    • Method Detail

      • copy

        static void copy​(java.io.InputStream in,
                         java.io.OutputStream out)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • safeClose

        static void safeClose​(java.io.Closeable closeable)