|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.netarkivet.common.utils.batch.FileBatchJob dk.netarkivet.common.utils.arc.ARCBatchJob dk.netarkivet.common.utils.cdx.GetCDXRecordsBatchJob
public class GetCDXRecordsBatchJob
Job to get cdx records out of metadata files.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class dk.netarkivet.common.utils.batch.FileBatchJob |
---|
FileBatchJob.ExceptionOccurrence |
Field Summary |
---|
Fields inherited from class dk.netarkivet.common.utils.arc.ARCBatchJob |
---|
noOfRecordsProcessed |
Fields inherited from class dk.netarkivet.common.utils.batch.FileBatchJob |
---|
batchJobTimeout, exceptions, filesFailed, noOfFilesProcessed |
Constructor Summary | |
---|---|
GetCDXRecordsBatchJob()
Constructor. |
Method Summary | |
---|---|
void |
finish(java.io.OutputStream os)
Finish job. |
void |
initialize(java.io.OutputStream os)
Initialize job. |
void |
processRecord(org.archive.io.arc.ARCRecord sar,
java.io.OutputStream os)
Process a single ARCRecord if the record contains cdx. |
Methods inherited from class dk.netarkivet.common.utils.arc.ARCBatchJob |
---|
getExceptionArray, getFilter, handleException, noOfRecordsProcessed, processFile |
Methods inherited from class dk.netarkivet.common.utils.batch.FileBatchJob |
---|
addException, addFinishException, addInitializeException, getBatchJobTimeout, getExceptions, getFilenamePattern, getFilesFailed, getNoOfFilesProcessed, maxExceptionsReached, postProcess, processOnlyFileNamed, processOnlyFilesMatching, processOnlyFilesMatching, processOnlyFilesNamed, setBatchJobTimeout |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GetCDXRecordsBatchJob()
Method Detail |
---|
public void initialize(java.io.OutputStream os)
initialize
in class ARCBatchJob
os
- The output stream (unused in this implementation)public void processRecord(org.archive.io.arc.ARCRecord sar, java.io.OutputStream os)
processRecord
in class ARCBatchJob
sar
- The record we want to processos
- The output stream to write the result topublic void finish(java.io.OutputStream os)
finish
in class ARCBatchJob
os
- The Outputstream (unused in this implementation)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |