public final class IOUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
streamBetween(InputStream in,
OutputStream out)
Streams all data between the given two streams, then closes both streams.
|
static void |
streamBetween(InputStream in,
OutputStream out,
boolean closeIn,
boolean closeOut)
Streams all data between the given two streams.
|
public static void streamBetween(InputStream in, OutputStream out)
Note: this implementation uses NIO.
public static void streamBetween(InputStream in, OutputStream out, boolean closeIn, boolean closeOut)
Note: this implementation uses NIO.
Copyright © 2015. All Rights Reserved.