info.simongibbs.scoof
Class Spider

java.lang.Object
  extended byinfo.simongibbs.scoof.Spider
All Implemented Interfaces:
java.lang.Runnable

public class Spider
extends java.lang.Object
implements java.lang.Runnable

Manically parses the directory tree and creates search operations to be performed.

Version:
$Revision: 1.4 $
Author:
Simon Gibbs

Constructor Summary
Spider(java.io.File rt, CodeBase base)
          Constructor for Spider.
 
Method Summary
 void findFiles(java.io.File f)
           
 boolean isComplete()
          Set to true when the run method completes.
 void processFile(java.io.File f)
           
 void run()
          Recursively navigates the directory tree starting at the given root and announces each new Target.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Spider

public Spider(java.io.File rt,
              CodeBase base)
Constructor for Spider.

Method Detail

run

public void run()
Recursively navigates the directory tree starting at the given root and announces each new Target.

Specified by:
run in interface java.lang.Runnable
See Also:
Runnable.run(), CodeBase.announceTarget(Target)

findFiles

public void findFiles(java.io.File f)

processFile

public void processFile(java.io.File f)

isComplete

public boolean isComplete()
Set to true when the run method completes.

Returns:
boolean