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, writeResumeKey
close, isAborted, printNumPages, serverError, setContentType, setMaxLines, trackLine, writeMiscLine
public CDXToUrlSearchResultWriter(CDXQuery query)
query
- CDXQuerypublic void begin()
BaseProcessor
begin()
on nested processor.begin
in interface BaseProcessor
begin
in class CDXToSearchResultWriter
public int writeLine(org.archive.format.cdx.CDXLine line)
BaseProcessor
line
.line
- CDXLine
line
is sent to output, 0 otherwise.public void end()
BaseProcessor
end()
on nested processor.end
in interface BaseProcessor
end
in class CDXToSearchResultWriter
public SearchResults getSearchResults()
getSearchResults
in class CDXToSearchResultWriter
Copyright © 2005–2015 IIPC. All rights reserved.