public class FileListJob extends FileBatchJob
FileBatchJob.ExceptionOccurrence
batchJobTimeout, exceptions, filesFailed, noOfFilesProcessed
Constructor and Description |
---|
FileListJob()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
finish(OutputStream os)
Does nothing.
|
void |
initialize(OutputStream os)
Initializes fields in this class.
|
boolean |
processFile(File file,
OutputStream os)
Writes the name of the arcfile to the OutputStream.
|
String |
toString()
Return a human-readable representation of a FileListJob.
|
addException, addFinishException, addInitializeException, getBatchJobTimeout, getExceptions, getFilenamePattern, getFilesFailed, getNoOfFilesProcessed, maxExceptionsReached, postProcess, processOnlyFileNamed, processOnlyFilesMatching, processOnlyFilesMatching, processOnlyFilesNamed, setBatchJobTimeout
public FileListJob()
public void initialize(OutputStream os)
initialize
in class FileBatchJob
os
- the OutputStream to which data is to be writtenpublic boolean processFile(File file, OutputStream os)
processFile
in class FileBatchJob
file
- an arcfileos
- the OutputStream to which data is to be writtenpublic void finish(OutputStream os)
finish
in class FileBatchJob
os
- the OutputStream to which data is to be writtenCopyright © 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.