ccl.util
Class StreamCopier

java.lang.Object
  |
  +--ccl.util.StreamCopier

public class StreamCopier
extends java.lang.Object

Copied from Java I/O by Elliotte Rusty Harold, page 43 [1999-07-30 Chr. Clemens Lee].


Constructor Summary
StreamCopier()
           
 
Method Summary
static boolean copy(java.io.InputStream pInputStream_, java.io.OutputStream pOutputStream_)
          Copy one stream to another.
static boolean copy(java.io.InputStream pInputStream_, java.io.OutputStream pOutputStream_, long offset)
          Copy one stream to another starting at position 'offset' (starting with 0).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamCopier

public StreamCopier()
Method Detail

copy

public static boolean copy(java.io.InputStream pInputStream_,
                           java.io.OutputStream pOutputStream_)
Copy one stream to another.

Returns:
error

copy

public static boolean copy(java.io.InputStream pInputStream_,
                           java.io.OutputStream pOutputStream_,
                           long offset)
Copy one stream to another starting at position 'offset' (starting with 0).

Returns:
error