public class CDXToUrlSearchResultWriter extends CDXToSearchResultWriter
msg, query| Constructor and Description |
|---|
CDXToUrlSearchResultWriter(CDXQuery query)
Initialize with query parameters.
|
| 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.
|
SearchResults |
getSearchResults() |
int |
writeLine(org.archive.format.cdx.CDXLine line)
Process
line. |
getErrorMsg, getQuery, modifyOutputFormat, printError, writeResumeKeyclose, isAborted, printNumPages, serverError, setContentType, setMaxLines, trackLine, writeMiscLinepublic CDXToUrlSearchResultWriter(CDXQuery query)
query - CDXQuerypublic void begin()
BaseProcessorbegin()
on nested processor.begin in interface BaseProcessorbegin in class CDXToSearchResultWriterpublic int writeLine(org.archive.format.cdx.CDXLine line)
BaseProcessorline.line - CDXLineline is sent to output, 0 otherwise.public void end()
BaseProcessorend()
on nested processor.end in interface BaseProcessorend in class CDXToSearchResultWriterpublic SearchResults getSearchResults()
getSearchResults in class CDXToSearchResultWriterCopyright © 2005–2015 IIPC. All rights reserved.