ccs.cpc.impl
Class RecurserThread

java.lang.Object
  extended by java.lang.Thread
      extended by ccs.cpc.impl.RecurserThread
All Implemented Interfaces:
java.lang.Runnable
Direct Known Subclasses:
DeviceRecurserThread

 class RecurserThread
extends java.lang.Thread


Nested Class Summary
protected static class RecurserThread.RecursiveAbortException
           
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected  VFile[] contents
           
protected  CpcImpl cpc
           
protected  VFile dir
           
 boolean isBusy
           
protected  Model mm
           
protected  boolean msgFiles
           
protected  int prefixlen
           
protected  RecurseUpdater ru
           
protected  java.lang.StringBuffer sb
           
protected  VFileProcessor vfp
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
RecurserThread(CpcImpl cpc)
           
 
Method Summary
protected  void driver(VFile dir, VFile[] contents)
           
protected  VFile[] getSelectedContents(VFile dir)
           
 void run()
           
(package private)  void setup(VFile dir, VFile[] contents, VFileProcessor vfp, java.lang.StringBuffer sb, int prefixlen, Model m)
           
 
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
 

Field Detail

isBusy

public boolean isBusy

cpc

protected CpcImpl cpc

ru

protected RecurseUpdater ru

dir

protected VFile dir

contents

protected VFile[] contents

vfp

protected VFileProcessor vfp

sb

protected java.lang.StringBuffer sb

prefixlen

protected int prefixlen

msgFiles

protected boolean msgFiles

mm

protected Model mm
Constructor Detail

RecurserThread

RecurserThread(CpcImpl cpc)
Method Detail

setup

void setup(VFile dir,
           VFile[] contents,
           VFileProcessor vfp,
           java.lang.StringBuffer sb,
           int prefixlen,
           Model m)

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

driver

protected void driver(VFile dir,
                      VFile[] contents)
               throws RecurserThread.RecursiveAbortException
Throws:
RecurserThread.RecursiveAbortException

getSelectedContents

protected VFile[] getSelectedContents(VFile dir)
                               throws java.io.IOException
Throws:
java.io.IOException