Package org.apache.rat.walker
Class FileListWalker
java.lang.Object
org.apache.rat.walker.FileListWalker
- All Implemented Interfaces:
IReportable
Implementation of IReportable that traverses over a resource collection
internally.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the DocumentName for the reportable.void
Adds the reportable to the RatReport.
-
Constructor Details
-
FileListWalker
Constructor.- Parameters:
source
- The file document that is the source from which this walker will read.
-
-
Method Details
-
run
Description copied from interface:IReportable
Adds the reportable to the RatReport.- Specified by:
run
in interfaceIReportable
- Parameters:
report
- the report to add the results to.- Throws:
RatException
- on error.
-
getName
Description copied from interface:IReportable
Returns the DocumentName for the reportable.- Specified by:
getName
in interfaceIReportable
- Returns:
- the DocumentName for the reportable.
-