|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.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 |
---|
exceptions, filesFailed, noOfFilesProcessed |
Constructor Summary | |
---|---|
GetCDXRecordsBatchJob()
|
Method Summary | |
---|---|
void |
finish(java.io.OutputStream os)
Finish up the job. |
void |
initialize(java.io.OutputStream os)
Initialize the job before runnning. |
void |
processRecord(org.archive.io.arc.ARCRecord sar,
java.io.OutputStream os)
Exceptions should be handled with the handleException() method. |
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, getExceptions, getFilenamePattern, getFilesFailed, getNoOfFilesProcessed, maxExceptionsReached, processOnlyFileNamed, processOnlyFilesMatching, processOnlyFilesMatching, processOnlyFilesNamed |
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)
ARCBatchJob
initialize
in class ARCBatchJob
os
- The OutputStream to which output data is writtenpublic void processRecord(org.archive.io.arc.ARCRecord sar, java.io.OutputStream os)
ARCBatchJob
processRecord
in class ARCBatchJob
sar
- the object to be processed.os
- The OutputStream to which output data is writtenpublic void finish(java.io.OutputStream os)
ARCBatchJob
finish
in class ARCBatchJob
os
- The OutputStream to which output data is written
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |