|
||||||||||
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.batch.FileListJob
dk.netarkivet.common.utils.batch.DatedFileListJob
public class DatedFileListJob
Job which returns the names of all files in the archive modified after a specific date.
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.FileListJob |
---|
log |
Fields inherited from class dk.netarkivet.common.utils.batch.FileBatchJob |
---|
batchJobTimeout, exceptions, filesFailed, noOfFilesProcessed |
Constructor Summary | |
---|---|
DatedFileListJob(java.util.Date since)
Constructor for this class. |
Method Summary | |
---|---|
boolean |
processFile(java.io.File file,
java.io.OutputStream os)
Writes the name of the arcfile to the OutputStream if its lastModified date is more recent than "since". |
Methods inherited from class dk.netarkivet.common.utils.batch.FileListJob |
---|
finish, initialize, toString |
Methods inherited from class dk.netarkivet.common.utils.batch.FileBatchJob |
---|
addException, addFinishException, addInitializeException, getBatchJobTimeout, getExceptions, getFilenamePattern, getFilesFailed, getNoOfFilesProcessed, maxExceptionsReached, postProcess, processOnlyFileNamed, processOnlyFilesMatching, processOnlyFilesMatching, processOnlyFilesNamed, setBatchJobTimeout |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DatedFileListJob(java.util.Date since)
since
- The date after which we require files to be listed.Method Detail |
---|
public boolean processFile(java.io.File file, java.io.OutputStream os)
processFile
in class FileListJob
file
- an arcfileos
- the OutputStream to which data is to be written
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |