org.netbeans.core.actions
Class LogViewerSupport
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 windowioName - name of the output window tab to use
run
public void run()
- Specified by:
run in interface Runnable
showLogViewer
public void showLogViewer()
throws IOException
- Throws:
IOException
stopUpdatingLogViewer
public void stopUpdatingLogViewer()