Interface StreamGobbler.LineReceivedCallback

All Known Subinterfaces:
ProcessSpawn.LineReceivedCallback
Enclosing class:
StreamGobbler

public static interface StreamGobbler.LineReceivedCallback
Callback interface. This is used by subscribers interested in being called each time a line of text is received.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Implemented methods will be called each time through this method call each time a new line is received.
  • Method Details

    • lineReceived

      void lineReceived(String line)
      Implemented methods will be called each time through this method call each time a new line is received.
      Parameters:
      line - The full line of string that was received.