|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.netarkivet.common.utils.arc.BatchLocalFiles
public class BatchLocalFiles
Class for running FileBatchJobs on a set of local files. The constructor takes an array of files to be processed and the run() method takes a FileBatchJob and applies it to each file in turn.
Constructor Summary | |
---|---|
BatchLocalFiles(java.io.File[] in_files)
Given an array of files, constructs a BatchLocalFiles instance to be used in running a batch job over those files |
Method Summary | |
---|---|
void |
run(FileBatchJob job,
java.io.OutputStream os)
Run the given job on the files associated with this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BatchLocalFiles(java.io.File[] in_files) throws ArgumentNotValid
in_files
- - the files that should be used for batching.
ArgumentNotValid
- if in_files is null or contains a null entryMethod Detail |
---|
public void run(FileBatchJob job, java.io.OutputStream os)
job
- - the job to be executedos
- - the OutputStream to which output data is written
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |