dutils.digger.processors
Class PrintProcessor

java.lang.Object
  |
  +--dutils.digger.processors.PrintProcessor
All Implemented Interfaces:
SearchProcessor

public class PrintProcessor
extends java.lang.Object
implements SearchProcessor

This SearchProcessor prints matching entries to the standard output stream.

Author:
Daniel Or

Constructor Summary
PrintProcessor()
           
 
Method Summary
 void process(java.io.File f)
          Used when a File that matches the search criteria is found.
 void process(java.io.File f, java.util.zip.ZipFile zFile, java.util.zip.ZipEntry zEntry)
          Used when a ZipEntry that matches the search criteria is found.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintProcessor

public PrintProcessor()
Method Detail

process

public void process(java.io.File f)
Description copied from interface: SearchProcessor
Used when a File that matches the search criteria is found.

Specified by:
process in interface SearchProcessor
Parameters:
f - a File to Process.
See Also:
SearchProcessor.process(File)

process

public void process(java.io.File f,
                    java.util.zip.ZipFile zFile,
                    java.util.zip.ZipEntry zEntry)
Description copied from interface: SearchProcessor
Used when a ZipEntry that matches the search criteria is found.

Specified by:
process in interface SearchProcessor
Parameters:
zFile - the ZipFile where the ZipEntry was found.
zEntry - a ZipEntry to process.
f - the actual file being processed (important for entries in nested archives).
See Also:
SearchProcessor.process(File, ZipFile, ZipEntry)