org.netbeans.core/2 3.32

org.netbeans.core.actions
Class LogViewerSupport

java.lang.Object
  extended by org.netbeans.core.actions.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 Summary
LogViewerSupport(File fileName, String ioName)
          Connects a given process to the output window.
 
Method Summary
 void run()
           
 void showLogViewer()
           
 void stopUpdatingLogViewer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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:
process - process whose streams to connect to the output window
ioName - name of the output window tab to use
Method Detail

run

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

showLogViewer

public void showLogViewer()
                   throws IOException
Throws:
IOException

stopUpdatingLogViewer

public void stopUpdatingLogViewer()

org.netbeans.core/2 3.32

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.