Class StreamReader

java.lang.Object
java.lang.Thread
com.nomagic.license.utils.exec.StreamReader
All Implemented Interfaces:
Runnable

@OpenApiAll public class StreamReader extends Thread
  • Constructor Details

    • StreamReader

      public StreamReader(String name, StringBuffer buffer, InputStream stream)
      Parameters:
      name - thread name
      buffer - buffer to fill
      stream - input stream ( process output )
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread
    • getException

      public Exception getException()
      Returns:
      generated exception on thread execution, null if none occurred