org.knime.base.node.util.exttool
Class CommandExecution.StdOutCatchRunnable

java.lang.Object
  extended by org.knime.base.node.util.exttool.CommandExecution.StdOutCatchRunnable
All Implemented Interfaces:
Runnable
Enclosing class:
CommandExecution

 class CommandExecution.StdOutCatchRunnable
extends Object
implements Runnable

Author:
Kilian Thiel, University of Konstanz

Constructor Summary
CommandExecution.StdOutCatchRunnable(Process proc, ExecutionMonitor exec, LinkedList<String> outputBuffer)
          A runnable for a thread that picks up the output from the specified process.
 
Method Summary
 void run()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandExecution.StdOutCatchRunnable

CommandExecution.StdOutCatchRunnable(Process proc,
                                     ExecutionMonitor exec,
                                     LinkedList<String> outputBuffer)
A runnable for a thread that picks up the output from the specified process. It stops reading if the execution context gets canceled.

Parameters:
proc - the process to read the output from
exec - used to check for user cancellations.
outputBuffer - list to add output lines to
Method Detail

run

public void run()

Specified by:
run in interface Runnable


Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.