Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

oracle.jdeveloper.vcs.util
Class VCSStreamUtils

java.lang.Object
  extended by oracle.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.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

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