public class DirectoryWalker extends Walker
Constructor and Description |
---|
DirectoryWalker(ReportConfiguration config,
Document document)
Constructs a directory walker.
|
Modifier and Type | Method and Description |
---|---|
protected void |
process(RatReport report,
Document document)
Process a directory, ignoring any files/directories set to be ignored.
|
void |
run(RatReport report)
Run a report over all files and directories in this DirectoryWalker,
ignoring any files/directories set to be ignored.
|
getDocument, isNotIgnored
public DirectoryWalker(ReportConfiguration config, Document document)
config
- the report configuration for this run.document
- the document to process.public void run(RatReport report) throws RatException
report
- the defined RatReport to run on this Directory walker.RatException
- on errorprotected void process(RatReport report, Document document) throws RatException
report
- the report to use in processingdocument
- the document to run the report againstRatException
- on errorCopyright © 2006–2024 Apache Software Foundation. All rights reserved.