public class DupeCountProcessor extends WrappedProcessor
| Modifier and Type | Field and Description |
|---|---|
static String |
dupecount |
protected HashMap<String,org.archive.cdxserver.processor.DupeCountProcessor.DupeTrack> |
dupeHashmap |
protected boolean |
showDupeCount |
inner| Constructor and Description |
|---|
DupeCountProcessor(BaseProcessor output,
boolean showDupeCount) |
| Modifier and Type | Method and Description |
|---|---|
protected org.archive.cdxserver.processor.DupeCountProcessor.DupeTrack |
createDupeTrack() |
protected void |
handleLine(org.archive.cdxserver.processor.DupeCountProcessor.DupeTrack counter,
org.archive.format.cdx.CDXLine line,
boolean isDupe) |
org.archive.format.cdx.FieldSplitFormat |
modifyOutputFormat(org.archive.format.cdx.FieldSplitFormat format)
Return output format (list of fields), given input format
format. |
int |
writeLine(org.archive.format.cdx.CDXLine line)
Process
line. |
begin, end, trackLine, writeResumeKeyprotected HashMap<String,org.archive.cdxserver.processor.DupeCountProcessor.DupeTrack> dupeHashmap
protected boolean showDupeCount
public static final String dupecount
public DupeCountProcessor(BaseProcessor output, boolean showDupeCount)
protected org.archive.cdxserver.processor.DupeCountProcessor.DupeTrack createDupeTrack()
protected void handleLine(org.archive.cdxserver.processor.DupeCountProcessor.DupeTrack counter,
org.archive.format.cdx.CDXLine line,
boolean isDupe)
public int writeLine(org.archive.format.cdx.CDXLine line)
BaseProcessorline.writeLine in interface BaseProcessorwriteLine in class WrappedProcessorline - CDXLineline is sent to output, 0 otherwise.public org.archive.format.cdx.FieldSplitFormat modifyOutputFormat(org.archive.format.cdx.FieldSplitFormat format)
BaseProcessorformat.
Intermediaries should call modifyOutputFormat(format) on nested
processor first, then make appropriate changes to it if they add/remove
fields.modifyOutputFormat in interface BaseProcessormodifyOutputFormat in class WrappedProcessorformat - input formatCDXFieldConstantsCopyright © 2005–2015 IIPC. All rights reserved.