Interface InputHandler

All Superinterfaces:
Runnable
All Known Implementing Classes:
ReaderInputHandler, SimpleInputHandler

public interface InputHandler extends Runnable
Interface to a threadable input handler for an external process. The input handler is used to write the STDIN input of an external process.
Version:
$Revision$
Author:
Martin Szugat
  • Method Details

    • setOutput

      void setOutput(OutputStream output)
      Sets the output stream. The input for the external process is read from this output stream.
      Parameters:
      output - the output stream. May be null.
    • getOutput

      Gets the output stream. The input for the external process is read from this output stream.
      Returns:
      the output stream. May be null.