anl.aida.reader
Class ScraperTests.RRProcessor

java.lang.Object
  extended by anl.aida.reader.ScraperTests.RRProcessor
All Implemented Interfaces:
ReaderResultProcessor
Enclosing class:
ScraperTests

private static class ScraperTests.RRProcessor
extends java.lang.Object
implements ReaderResultProcessor


Field Summary
(package private)  int count
           
(package private)  java.lang.String expectedSource
           
 
Constructor Summary
ScraperTests.RRProcessor(java.lang.String expectedSource)
           
 
Method Summary
 void done()
          Notifies the processor that it is done processing results.
 void initialize()
          Initializes the processor.
 void process(ReaderResult result)
          Process the specified result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

count

int count

expectedSource

java.lang.String expectedSource
Constructor Detail

ScraperTests.RRProcessor

public ScraperTests.RRProcessor(java.lang.String expectedSource)
Method Detail

process

public void process(ReaderResult result)
             throws AIDAException
Description copied from interface: ReaderResultProcessor
Process the specified result.

Specified by:
process in interface ReaderResultProcessor
Parameters:
result - the result to process
Throws:
AIDAException - if there is an error processing the result

done

public void done()
          throws java.io.IOException
Description copied from interface: ReaderResultProcessor
Notifies the processor that it is done processing results.

Specified by:
done in interface ReaderResultProcessor
Throws:
java.io.IOException

initialize

public void initialize()
                throws AIDAException
Description copied from interface: ReaderResultProcessor
Initializes the processor.

Specified by:
initialize in interface ReaderResultProcessor
Throws:
AIDAException