dutils.digger.processors
Class MethodPrintProcessor

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

public class MethodPrintProcessor
extends java.lang.Object
implements SearchProcessor

This SearchProcessor prints matching methods to the standard output stream.

Author:
Daniel Or

Constructor Summary
MethodPrintProcessor(MethodComparator mc)
          Creates a new FieldPrintProcessor.
 
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

MethodPrintProcessor

public MethodPrintProcessor(MethodComparator mc)
Creates a new FieldPrintProcessor.

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)