IOUtils.copy

Copy Stream input to Stream output until EOF or exception.

@param input the input stream to read from (until EOF) @param output the output stream to write to @throws IOException if unable to copy streams

  1. void copy(InputStream input, OutputStream output)
    class IOUtils
  2. void copy(InputStream input, OutputStream output, long byteCount)

Meta