public class DatedFileListJob extends FileListJob
FileBatchJob.ExceptionOccurrence
batchJobTimeout, exceptions, filesFailed, noOfFilesProcessed
Constructor and Description |
---|
DatedFileListJob(Date since)
Constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
processFile(File file,
OutputStream os)
Writes the name of the arcfile to the OutputStream if its lastModified date is more recent than "since".
|
finish, initialize, toString
addException, addFinishException, addInitializeException, getBatchJobTimeout, getExceptions, getFilenamePattern, getFilesFailed, getNoOfFilesProcessed, maxExceptionsReached, postProcess, processOnlyFileNamed, processOnlyFilesMatching, processOnlyFilesMatching, processOnlyFilesNamed, setBatchJobTimeout
public DatedFileListJob(Date since)
since
- The date after which we require files to be listed.public boolean processFile(File file, OutputStream os)
processFile
in class FileListJob
file
- an arcfileos
- 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.