Class InputOutputStreamPump

java.lang.Object
VASSAL.tools.io.InputOutputStreamPump
All Implemented Interfaces:
Runnable, InputStreamPump, OutputStreamPump

public class InputOutputStreamPump extends Object implements InputStreamPump, OutputStreamPump
Pumps an InputStream to an OutputStream.
Since:
3.2.0
Author:
Joel Uckelman
  • Field Details

  • Constructor Details

    • InputOutputStreamPump

      public InputOutputStreamPump()
      Creates an InputOutputStreamPump.
    • InputOutputStreamPump

      public InputOutputStreamPump(EventListener<IOException> ioexListener)
      Creates an InputOutputStreamPump.
      Parameters:
      ioexListener - the exception listener
    • InputOutputStreamPump

      public InputOutputStreamPump(InputStream in, OutputStream out)
      Creates an InputOutputStreamPump.
      Parameters:
      in - the input stream
      out - the output stream
    • InputOutputStreamPump

      public InputOutputStreamPump(InputStream in, OutputStream out, EventListener<IOException> ioexListener)
      Creates an InputOutputStreamPump.
      Parameters:
      in - the input stream
      out - the output stream
      ioexListener - the exception listener
  • Method Details