Extension SDK 10.1.2


oracle.jdeveloper.vcs.util
Class VCSStreamUtils

java.lang.Object
  extended byoracle.jdeveloper.vcs.util.VCSStreamUtils


public final class VCSStreamUtils
extends java.lang.Object

Utility class for stream handling operations.

Since:
9.0.5

Method Summary
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.

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail

pipeStreamData

public static final void pipeStreamData(java.io.InputStream in,
                                        java.io.OutputStream out)
                                 throws java.io.IOException
Pipes data from the given input stream to the given output stream, and then closes the input stream.
Parameters:
in - an input stream.
out - an output stream.
Throws:
java.io.IOException - if an I/O exception occurred when handling the streams.

Extension SDK


Copyright © 1997, 2004, Oracle. All rights reserved.