|
||||||||||
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.archive.arcrepository.distribute.ArcFileRemover
public class ArcFileRemover
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.batch.FileBatchJob |
---|
batchJobTimeout, exceptions, filesFailed, noOfFilesProcessed |
Constructor Summary | |
---|---|
ArcFileRemover()
|
Method Summary | |
---|---|
void |
finish(java.io.OutputStream os)
Finish up the job. |
void |
initialize(java.io.OutputStream os)
Initialize the job before runnning. |
boolean |
processFile(java.io.File file,
java.io.OutputStream os)
Process one file stored in the bit archive. |
Methods inherited from class dk.netarkivet.common.utils.batch.FileBatchJob |
---|
addException, addFinishException, addInitializeException, getBatchJobTimeout, getExceptions, getFilenamePattern, getFilesFailed, getNoOfFilesProcessed, maxExceptionsReached, 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 ArcFileRemover()
Method Detail |
---|
public void finish(java.io.OutputStream os)
FileBatchJob
finish
in class FileBatchJob
os
- the OutputStream to which output should be writtenpublic void initialize(java.io.OutputStream os)
FileBatchJob
initialize
in class FileBatchJob
os
- the OutputStream to which output should be writtenpublic boolean processFile(java.io.File file, java.io.OutputStream os)
FileBatchJob
processFile
in class FileBatchJob
file
- the file to be processed.os
- the OutputStream to which output should be written
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |