package ssbind; import org.biojava.bio.search.*; /** * Prints out a count of the total number of hits in a report. * *

Example

*
 * java ProcessBlastReport blast.out ssbind.CountHits
 * 
* * @author Matthew Pocock * @author Rahul Karnik */ public class CountHits extends SearchContentAdapter { private int hits; public void startSearch() { hits = 0; } public void endSearch() { System.out.println("Number of hits: " + hits); } public void startHit() { hits++; } }