mk.fsgrep.find
Class Finder

java.lang.Object
  extended by mk.fsgrep.find.Finder
Direct Known Subclasses:
SubsetFinder

public class Finder
extends java.lang.Object

The agent which collects the list of files to search.

Author:
Murali Krishnan

Constructor Summary
protected Finder()
           
  Finder(Fsgrep pModel, ScanProfile pProfile)
           
 
Method Summary
protected  void addFiles(java.io.File[] files)
           
protected  void addSubDirs(java.io.File[] subdirs)
           
 ResultCounter getFileCount()
           
 java.util.Collection<TargetFile> getFileList()
           
protected  java.io.FilenameFilter getFilter()
           
protected  Fsgrep getModel()
           
 ScanProfile getProfile()
           
protected  java.util.LinkedList<java.io.File> getRemaining()
           
protected  OutputDestination getReportOutput()
           
 java.io.File getRoot()
           
protected  OutputDestination getStatusOutput()
           
 void reset()
           
 void scan()
           
 void setFileCount(ResultCounter val)
           
 void setProfile(ScanProfile val)
           
 java.lang.String toProfileString()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Finder

public Finder(Fsgrep pModel,
              ScanProfile pProfile)

Finder

protected Finder()
Method Detail

getModel

protected Fsgrep getModel()

getRemaining

protected java.util.LinkedList<java.io.File> getRemaining()

getFileList

public java.util.Collection<TargetFile> getFileList()

getProfile

public ScanProfile getProfile()

getFileCount

public ResultCounter getFileCount()

setFileCount

public void setFileCount(ResultCounter val)

setProfile

public void setProfile(ScanProfile val)

getRoot

public java.io.File getRoot()

getFilter

protected java.io.FilenameFilter getFilter()

getReportOutput

protected OutputDestination getReportOutput()

getStatusOutput

protected OutputDestination getStatusOutput()

addFiles

protected void addFiles(java.io.File[] files)

addSubDirs

protected void addSubDirs(java.io.File[] subdirs)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toProfileString

public java.lang.String toProfileString()

reset

public void reset()

scan

public void scan()


Copyright © 2009. All Rights Reserved.