proai.cache
Class CachedContentAggregate

java.lang.Object
  extended by proai.cache.CachedContentAggregate
All Implemented Interfaces:
Writable

public class CachedContentAggregate
extends java.lang.Object
implements Writable


Constructor Summary
CachedContentAggregate(java.io.File listFile, java.lang.String verb, RecordCache cache)
          Expects a file of the following form.
 
Method Summary
 void write(java.io.PrintWriter out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachedContentAggregate

public CachedContentAggregate(java.io.File listFile,
                              java.lang.String verb,
                              RecordCache cache)
Expects a file of the following form. line 0 - n : path [dateString if record or header] line n+1 : "end" or "end resumptionToken cursor" Note that if dateString isn't given for a line in the file, it will be written as-is.

Method Detail

write

public void write(java.io.PrintWriter out)
           throws ServerException
Specified by:
write in interface Writable
Throws:
ServerException