Class LogViewerSupport

java.lang.Object
org.netbeans.modules.python.log.LogViewerSupport
All Implemented Interfaces:
Runnable

public class LogViewerSupport extends Object implements Runnable
Connects the output stream of a file to the IDE output window.
  • Constructor Details

    • LogViewerSupport

      public LogViewerSupport(File fileName, String ioName)
      Connects a given process to the output window. Returns immediately, but threads are started that copy streams of the process to/from the output window.
      Parameters:
      fileName - process whose streams to connect to the output window
      ioName - name of the output window tab to use
  • Method Details

    • run

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

      public void showLogViewer() throws IOException
      Throws:
      IOException
    • stopUpdatingLogViewer

      public void stopUpdatingLogViewer()