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, writeMiscLineprotected ArrayList<org.archive.format.cdx.CDXLine> cdxLines
public void begin()
BaseProcessorbegin()
on nested processor.public int writeLine(org.archive.format.cdx.CDXLine line)
BaseProcessorline.line - CDXLineline is sent to output, 0 otherwise.public void writeResumeKey(String resumeKey)
BaseProcessorCDXWriter should do
actual work. All intermediaries shall simply call
writeResumeKey(resumeKey) on nested processor.public void end()
BaseProcessorend()
on nested processor.public ArrayList<org.archive.format.cdx.CDXLine> getCDXLines()
Copyright © 2005–2015 IIPC. All rights reserved.