public class CDXListWriter extends CDXWriter
Modifier and Type | Field and Description |
---|---|
protected ArrayList<org.archive.format.cdx.CDXLine> |
cdxLines |
Constructor and Description |
---|
CDXListWriter() |
Modifier and Type | Method and Description |
---|---|
void |
begin()
This method will be called just before looping over
the sequence of CDX lines.
|
void |
end()
Called at the end.
|
ArrayList<org.archive.format.cdx.CDXLine> |
getCDXLines() |
int |
writeLine(org.archive.format.cdx.CDXLine line)
Process
line . |
void |
writeResumeKey(String resumeKey)
Write resumption key.
|
close, isAborted, modifyOutputFormat, printError, printNumPages, serverError, setContentType, setMaxLines, trackLine, writeMiscLine
protected ArrayList<org.archive.format.cdx.CDXLine> cdxLines
public void begin()
BaseProcessor
begin()
on nested processor.public int writeLine(org.archive.format.cdx.CDXLine line)
BaseProcessor
line
.line
- CDXLine
line
is sent to output, 0 otherwise.public void writeResumeKey(String resumeKey)
BaseProcessor
CDXWriter
should do
actual work. All intermediaries shall simply call
writeResumeKey(resumeKey)
on nested processor.public void end()
BaseProcessor
end()
on nested processor.public ArrayList<org.archive.format.cdx.CDXLine> getCDXLines()
Copyright © 2005–2015 IIPC. All rights reserved.