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

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

 class CommandExecution.StdErrCatchRunnable
extends Object
implements Runnable

Author:
Kilian Thiel, University of Konstanz

Constructor Summary
CommandExecution.StdErrCatchRunnable(Process proc, ExecutionMonitor exec, LinkedList<String> outputBuffer)
          A runnable for a thread that picks up the error 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.StdErrCatchRunnable

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

Parameters:
proc - the process to read the error output from
exec - used to check for user cancellations.
outputBuffer - the list to add the 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.