org.apache.rat.walker
Class ArchiveWalker
java.lang.Object
org.apache.rat.walker.Walker
org.apache.rat.walker.ArchiveWalker
- All Implemented Interfaces:
- IReportable
public class ArchiveWalker
- extends Walker
- implements IReportable
Walks various kinds of archives files
Method Summary |
void |
run(RatReport report)
Run a report over all files and directories in this GZIPWalker,
ignoring any files/directories set to be ignored. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArchiveWalker
public ArchiveWalker(File file,
FilenameFilter filter)
throws FileNotFoundException
- Constructs a walker.
- Parameters:
file
- not nullfilter
- filters input files (optional),
or null when no filtering should be performed
- Throws:
FileNotFoundException
- in case of I/O errors.
run
public void run(RatReport report)
throws RatException
- Run a report over all files and directories in this GZIPWalker,
ignoring any files/directories set to be ignored.
- Specified by:
run
in interface IReportable
- Parameters:
report
- the defined RatReport to run on this GZIP walker.
- Throws:
RatException
Copyright © 2006–2014 Apache Software Foundation. All rights reserved.