edu.jhu.ece.iacl.jist.pipeline.gui
Class ProcessDebugInfoFrame.FileReaderWorker

java.lang.Object
  extended by javax.swing.SwingWorker<java.lang.Void,java.lang.Void>
      extended by edu.jhu.ece.iacl.jist.pipeline.gui.ProcessDebugInfoFrame.FileReaderWorker
All Implemented Interfaces:
java.lang.Runnable, java.util.concurrent.Future<java.lang.Void>, java.util.concurrent.RunnableFuture<java.lang.Void>
Enclosing class:
ProcessDebugInfoFrame

protected class ProcessDebugInfoFrame.FileReaderWorker
extends javax.swing.SwingWorker<java.lang.Void,java.lang.Void>

Worker to load stdout/stderr in a safe threaded way.

Author:
Blake Lucas (bclucas@jhu.edu)

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.SwingWorker
javax.swing.SwingWorker.StateValue
 
Constructor Summary
ProcessDebugInfoFrame.FileReaderWorker(java.awt.Component parent, javax.swing.JTextArea textArea, java.io.File f)
          Instantiates a new file reader worker.
 
Method Summary
protected  java.lang.Void doInBackground()
           
 
Methods inherited from class javax.swing.SwingWorker
addPropertyChangeListener, cancel, done, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, process, publish, removePropertyChangeListener, run, setProgress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessDebugInfoFrame.FileReaderWorker

public ProcessDebugInfoFrame.FileReaderWorker(java.awt.Component parent,
                                              javax.swing.JTextArea textArea,
                                              java.io.File f)
Instantiates a new file reader worker.

Parameters:
parent - the parent
textArea - the text area
f - the f
Method Detail

doInBackground

protected java.lang.Void doInBackground()
                                 throws java.lang.Exception
Specified by:
doInBackground in class javax.swing.SwingWorker<java.lang.Void,java.lang.Void>
Throws:
java.lang.Exception