public class IOUtils extends Object
| Constructor and Description |
|---|
IOUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
copy(InputStream in,
OutputStream out,
boolean close)
Copies the input stream to the output stream
|
public static void copy(InputStream in, OutputStream out, boolean close) throws IOException
in - the InputStreamout - the OutputStreamclose - close input and output streamIOExceptionCopyright © 2004–2018 The Apache Software Foundation. All rights reserved.