Interface InteractiveOutputObserver


public interface InteractiveOutputObserver
Implementations of this interface are able to print some text to stdin of processes handled by ObservableOutputStreamsProcess class.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Observe a line from a process and optionally use its output stream
  • Method Details

    • observeInteractively

      void observeInteractively(String line, OutputStream outputStream)
      Observe a line from a process and optionally use its output stream
      Parameters:
      line - a line from the output
      outputStream - a process output stream