anl.aida.reader
Class LATimesIndexMaker.ArchiveMaker

java.lang.Object
  extended by anl.aida.reader.LATimesIndexMaker.ArchiveMaker
All Implemented Interfaces:
DocumentProcessor
Enclosing class:
LATimesIndexMaker

private static class LATimesIndexMaker.ArchiveMaker
extends java.lang.Object
implements DocumentProcessor


Field Summary
private  java.lang.String month
           
 long timeStamp
           
private  java.io.PrintWriter writer
           
 
Constructor Summary
LATimesIndexMaker.ArchiveMaker(java.lang.String file)
           
 
Method Summary
 void close()
           
 boolean done()
          If this returns true, the code that is feeding lines to this processor can then stop.
 void processLine(java.lang.String line)
          Process the line.
 void reset()
          Resets the processor so it may be used with another document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

writer

private java.io.PrintWriter writer

month

private java.lang.String month

timeStamp

public long timeStamp
Constructor Detail

LATimesIndexMaker.ArchiveMaker

public LATimesIndexMaker.ArchiveMaker(java.lang.String file)
                               throws java.io.IOException
Throws:
java.io.IOException
Method Detail

processLine

public void processLine(java.lang.String line)
Description copied from interface: DocumentProcessor
Process the line. The line may be text or a html link.

Specified by:
processLine in interface DocumentProcessor
Parameters:
line - the line to process

done

public boolean done()
Description copied from interface: DocumentProcessor
If this returns true, the code that is feeding lines to this processor can then stop.

Specified by:
done in interface DocumentProcessor
Returns:
true when the processor is done, otherwise false.

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

reset

public void reset()
Description copied from interface: DocumentProcessor
Resets the processor so it may be used with another document.

Specified by:
reset in interface DocumentProcessor