Package jadex.commons
Class StreamCopy
- java.lang.Object
-
- jadex.commons.StreamCopy
-
- All Implemented Interfaces:
java.lang.Runnable
public class StreamCopy extends java.lang.Object implements java.lang.Runnable
A runnable to concurrently copy data from one stream to the other.
-
-
Constructor Summary
Constructors Constructor Description StreamCopy(java.io.InputStream source, java.io.OutputStream target)
Create a stream copy object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
Copy data from source to target.
-