Package org.apache.rat.walker
Class ArchiveWalker
java.lang.Object
org.apache.rat.walker.Walker
org.apache.rat.walker.ArchiveWalker
- All Implemented Interfaces:
IReportable
Walks various kinds of archives files.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the documents from the archive.void
Run a report over all files and directories in this GZIPWalker, ignoring any files/directories set to be ignored.Methods inherited from class org.apache.rat.walker.Walker
getDocument, getName
-
Constructor Details
-
ArchiveWalker
Constructs a walker.- Parameters:
document
- the document to process.
-
-
Method Details
-
run
Run a report over all files and directories in this GZIPWalker, ignoring any files/directories set to be ignored.- Parameters:
report
- the defined RatReport to run on this GZIP walker.- Throws:
RatException
- on error.
-
getDocuments
Retrieves the documents from the archive.- Returns:
- A collection of documents that pass the file filter.
- Throws:
RatException
- on error.
-