testsgen.wttools
Class DirWalkerImpl
java.lang.Object
|
+--testsgen.wttools.DirWalkerImpl
- All Implemented Interfaces:
- DirWalkerIfc
- public class DirWalkerImpl
- extends java.lang.Object
- implements DirWalkerIfc
DirWalkerImpl.java cpntains implementation of DirWalkerIfc
interface. It implements searching files in given directory with given
file mask.
At the moment it support only simple file mask and one directory
to search in. In future it will support more complex file mask and
multiple directory searching.
Created: Sun Dec 2 21:39:16 2001
- Version:
- $Revision: 1.10 $
- Author:
- Artur Hefczyc
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected LogIfc log
property
protected PropertyIfc property
test_only
protected boolean test_only
recursive
protected boolean recursive
force
protected boolean force
file_mask
protected java.lang.String file_mask
file_dir
protected java.lang.String file_dir
DirWalkerImpl
public DirWalkerImpl()
setLogHandler
public void setLogHandler(LogIfc log_handler)
- Specified by:
setLogHandler
in interface DirWalkerIfc
- Parameters:
log_handler
-
setPropertyHandler
public void setPropertyHandler(PropertyIfc property_handler)
- Specified by:
setPropertyHandler
in interface DirWalkerIfc
- Parameters:
property_handler
-
getFilesFromDir
protected java.util.ArrayList getFilesFromDir(java.io.File dir,
DirWalkerImpl.MaskFilter mask)
getAllDirs
protected java.util.ArrayList getAllDirs(java.io.File dir)
getSourceFiles
public java.lang.String[] getSourceFiles()
- Specified by:
getSourceFiles
in interface DirWalkerIfc
- Parameters:
dir
- mask
- recur
- - Returns:
setJobParameters
protected void setJobParameters()
Copyright © GNU, wttools developers Team.