public class ClosestTimestampSorted extends WrappedProcessor
inner| Constructor and Description |
|---|
ClosestTimestampSorted(BaseProcessor output,
String target,
int limit) |
| Modifier and Type | Method and Description |
|---|---|
protected Long |
convTimestamp(String timestamp) |
void |
end()
Called at the end.
|
int |
writeLine(org.archive.format.cdx.CDXLine line)
Process
line. |
void |
writeResumeKey(String resumeKey)
Write resumption key.
|
protected int |
writeSorted() |
begin, modifyOutputFormat, trackLinepublic ClosestTimestampSorted(BaseProcessor output, String target, int limit)
public int writeLine(org.archive.format.cdx.CDXLine line)
BaseProcessorline.writeLine in interface BaseProcessorwriteLine in class WrappedProcessorline - CDXLineline is sent to output, 0 otherwise.protected int writeSorted()
public void writeResumeKey(String resumeKey)
BaseProcessorCDXWriter should do
actual work. All intermediaries shall simply call
writeResumeKey(resumeKey) on nested processor.writeResumeKey in interface BaseProcessorwriteResumeKey in class WrappedProcessorpublic void end()
BaseProcessorend()
on nested processor.end in interface BaseProcessorend in class WrappedProcessorCopyright © 2005–2015 IIPC. All rights reserved.