Class StreamMuncher

java.lang.Object
org.opentestfactory.utils.process.StreamMuncher
All Implemented Interfaces:
Runnable

public final class StreamMuncher extends Object implements Runnable
This class is used to monitor streams.
Author:
bsiri, edegenetais
  • Constructor Details

    • StreamMuncher

      public StreamMuncher(String streamName, InputStream stream, int bufferSize)
  • Method Details

    • requestStop

      public void requestStop()
    • start

      public void start()
    • run

      public void run()
      Specified by:
      run in interface Runnable
    • getStreamContent

      public String getStreamContent()