Package jadex.common

Class StreamCopy

java.lang.Object
jadex.common.StreamCopy
All Implemented Interfaces:
Runnable

public class StreamCopy extends Object implements Runnable
A runnable to concurrently copy data from one stream to the other.
  • Field Details

    • source

      protected InputStream source
      The source stream.
    • target

      protected OutputStream target
      The target stream.
  • Constructor Details

  • Method Details

    • run

      public void run()
      Copy data from source to target.
      Specified by:
      run in interface Runnable