util
Class Streams
java.lang.Object
util.Streams
public final class Streams
- extends Object
Utility class for dealing with streams.
|
Nested Class Summary |
static class |
Streams.PipeHandler
Controller for handling all three streams for a child process
asynchronously. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Streams
public Streams()
pipeInto
public static void pipeInto(InputStream in,
OutputStream out)
throws IOException
- Read everything from one stream into another.
- Parameters:
in - The stream to read from.out - The stream to write to.
- Throws:
IOException - If anything goes wrong on either end.