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.voidAdds 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:IReportableAdds the reportable to the RatReport.- Specified by:
runin interfaceIReportable- Parameters:
report- the report to add the results to.- Throws:
RatException- on error.
-
getName
Description copied from interface:IReportableReturns the DocumentName for the reportable.- Specified by:
getNamein interfaceIReportable- Returns:
- the DocumentName for the reportable.
-