ParallelFilteredProcessorRunner.Writer<WarcRecord>
, java.io.Closeable
, java.lang.AutoCloseable
public class URLWriter extends java.lang.Object implements ParallelFilteredProcessorRunner.Writer<WarcRecord>
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
|
static URLWriter |
getInstance() |
|
void |
write(WarcRecord warcRecord,
long StorePosition,
java.io.PrintStream out) |
public static URLWriter getInstance()
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