com.googlepages.dronten.jripper.util
Class ProcessRunnerReadProcWriteFile

java.lang.Object
  extended by java.lang.Thread
      extended by com.googlepages.dronten.jripper.util.BaseThread
          extended by com.googlepages.dronten.jripper.util.ProcessRunner
              extended by com.googlepages.dronten.jripper.util.ProcessRunnerReadProcWriteFile
All Implemented Interfaces:
java.lang.Runnable

public class ProcessRunnerReadProcWriteFile
extends ProcessRunner

Process thread that uses other threads for reading from child thread outputs. One of the reader can also write to another child process.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class com.googlepages.dronten.jripper.util.ProcessRunner
aExitReadCode, aExitWriteCode, aReadFileName, aReadParam, aReadProcess, aThread1, aThread2, aWriteFileName, aWriteParam, aWriteProcess
 
Fields inherited from class com.googlepages.dronten.jripper.util.BaseThread
aProgress, aRunning
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ProcessRunnerReadProcWriteFile(Log log, Progress progress, ProcessParam readParam, java.lang.String writeFileName, StreamThread thread1, StreamThread thread2)
          Create a ProcessRunner object that can read from one process and write to a file.
 
Method Summary
 
Methods inherited from class com.googlepages.dronten.jripper.util.ProcessRunner
close, getExitReadCode, getExitWriteCode, getThread1, hasFailed, run, stopLogging
 
Methods inherited from class com.googlepages.dronten.jripper.util.BaseThread
addLog, getLog, getTrackNum, setFailed, setLog, setTrackNum, stopRunning
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProcessRunnerReadProcWriteFile

public ProcessRunnerReadProcWriteFile(Log log,
                                      Progress progress,
                                      ProcessParam readParam,
                                      java.lang.String writeFileName,
                                      StreamThread thread1,
                                      StreamThread thread2)
Create a ProcessRunner object that can read from one process and write to a file.

Parameters:
log -
progress -
readParam -
writeFileName -
thread1 -
thread2 -