org.jwarp.util.io
Class StreamCopy

java.lang.Object
  |
  +--org.jwarp.util.io.StreamCopy

public class StreamCopy
extends java.lang.Object

This utility allows simple copying of one input streasm to another.


Method Summary
static void copy(java.io.InputStream source, java.io.OutputStream destination)
          Copy stream-data from source to destination.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

copy

public static void copy(java.io.InputStream source,
                        java.io.OutputStream destination)
                 throws java.io.IOException
Copy stream-data from source to destination.
Parameters:
source - The input stream
destination - The output stream
Throws:
java.io.IOException - If something went wrong

©   O R C A   S y s t e m s