public class GetCDXRecordsBatchJob extends ARCBatchJob
FileBatchJob.ExceptionOccurrence
noOfRecordsProcessed
batchJobTimeout, exceptions, filesFailed, noOfFilesProcessed
Constructor and Description |
---|
GetCDXRecordsBatchJob()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
finish(OutputStream os)
Finish job.
|
void |
initialize(OutputStream os)
Initialize job.
|
void |
processRecord(org.archive.io.arc.ARCRecord sar,
OutputStream os)
Process a single ARCRecord if the record contains cdx.
|
getExceptionArray, getFilter, handleException, noOfRecordsProcessed, processFile
addException, addFinishException, addInitializeException, getBatchJobTimeout, getExceptions, getFilenamePattern, getFilesFailed, getNoOfFilesProcessed, maxExceptionsReached, postProcess, processOnlyFileNamed, processOnlyFilesMatching, processOnlyFilesMatching, processOnlyFilesNamed, setBatchJobTimeout
public GetCDXRecordsBatchJob()
public void initialize(OutputStream os)
initialize
in class ARCBatchJob
os
- The output stream (unused in this implementation)public void processRecord(org.archive.io.arc.ARCRecord sar, OutputStream os)
processRecord
in class ARCBatchJob
sar
- The record we want to processos
- The output stream to write the result topublic void finish(OutputStream os)
finish
in class ARCBatchJob
os
- The Outputstream (unused in this implementation)Copyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.