Jadex 0.96-beta1

jadex.util
Class StreamCopy

java.lang.Object
  extended by jadex.util.StreamCopy
All Implemented Interfaces:
Runnable

public class StreamCopy
extends Object
implements Runnable

A runnable to concurrently copy data from one stream to the other.


Constructor Summary
StreamCopy(InputStream source, OutputStream target)
          Create a stream copy object.
 
Method Summary
 void run()
          Copy data from source to target.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamCopy

public StreamCopy(InputStream source,
                  OutputStream target)
Create a stream copy object.

Method Detail

run

public void run()
Copy data from source to target.

Specified by:
run in interface Runnable

Jadex 0.96-beta1

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.