Class StreamFeeder

All Implemented Interfaces:
Runnable

public class StreamFeeder extends AbstractStreamHandler
Read from an InputStream and write the output to an OutputStream.
Author:
Trygve Laugstøl
  • Constructor Details

    • StreamFeeder

      public StreamFeeder(InputStream input, OutputStream output)
      Create a new StreamFeeder
      Parameters:
      input - Stream to read from
      output - Stream to write to
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread
    • close

      public void close()
    • getException

      public Throwable getException()
      Returns:
      the Exception
      Since:
      3.1.0