public class ArchiveWalker extends Walker implements IReportable
| Constructor and Description |
|---|
ArchiveWalker(java.io.File file,
java.io.FilenameFilter filter)
Constructs a walker.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
report(RatReport report,
byte[] contents,
java.io.File file)
Report on the given file.
|
void |
run(RatReport report)
Run a report over all files and directories in this GZIPWalker,
ignoring any files/directories set to be ignored.
|
isNotIgnored, isRestricted, regexFilterpublic ArchiveWalker(java.io.File file,
java.io.FilenameFilter filter)
throws java.io.FileNotFoundException
file - not nullfilter - filters input files (optional),
or null when no filtering should be performedjava.io.FileNotFoundException - in case of I/O errors.public void run(RatReport report) throws RatException
run in interface IReportablereport - the defined RatReport to run on this GZIP walker.RatExceptionprivate void report(RatReport report, byte[] contents, java.io.File file) throws RatException
report - the report to process the file withfile - the file to be reported onRatException