org.dspace.checker
Class ResultsLogger

java.lang.Object
  extended by org.dspace.checker.ResultsLogger
All Implemented Interfaces:
ChecksumResultsCollector

public class ResultsLogger
extends Object
implements ChecksumResultsCollector

Collects results from a Checksum process and outputs them to a Log4j Logger.

Author:
Jim Downing, Grace Carpenter, Nathan Sarr

Constructor Summary
ResultsLogger(Date startDt)
          Main constructor.
 
Method Summary
 void collect(BitstreamInfo info)
          Collect a result for logging.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultsLogger

public ResultsLogger(Date startDt)
Main constructor.

Parameters:
startDt - Date the checking run started.
Method Detail

collect

public void collect(BitstreamInfo info)
Collect a result for logging.

Specified by:
collect in interface ChecksumResultsCollector
Parameters:
info - the BitstreamInfo representing the result.
See Also:
ChecksumResultsCollector.collect(org.dspace.checker.BitstreamInfo)


Copyright © 2010 DuraSpace. All Rights Reserved.