ParallelFilteredProcessorRunner.Writer<WarcRecord>
, java.io.Closeable
, java.lang.AutoCloseable
public class URLDigestFinalPositionWriter extends java.lang.Object implements ParallelFilteredProcessorRunner.Writer<WarcRecord>
Constructor | Description |
---|---|
URLDigestFinalPositionWriter(java.lang.String storeIndex,
java.lang.String repeatedSetFile) |
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
|
void |
write(WarcRecord warcRecord,
long storePosition,
java.io.PrintStream out) |
public URLDigestFinalPositionWriter(java.lang.String storeIndex, java.lang.String repeatedSetFile) throws java.lang.ClassNotFoundException, java.io.IOException, java.lang.IllegalArgumentException
java.lang.ClassNotFoundException
java.io.IOException
java.lang.IllegalArgumentException
public void write(WarcRecord warcRecord, long storePosition, java.io.PrintStream out) throws java.io.IOException
write
in interface ParallelFilteredProcessorRunner.Writer<WarcRecord>
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.lang.AutoCloseable
close
in interface java.io.Closeable
java.io.IOException