public final class VCSStreamUtils
extends java.lang.Object
Utility class for stream handling operations.
Modifier and Type | Method and Description |
---|---|
static void |
pipeStreamData(java.io.InputStream in,
java.io.OutputStream out)
Pipes data from the given input stream to the given output stream, and
then closes the input stream.
|
public static final void pipeStreamData(java.io.InputStream in, java.io.OutputStream out) throws java.io.IOException
in
- an input stream.out
- an output stream.java.io.IOException
- if an I/O exception occurred when handling the
streams.