Package org.dspace.checker
Class ResultsLogger
java.lang.Object
org.dspace.checker.ResultsLogger
- All Implemented Interfaces:
ChecksumResultsCollector
Collects results from a Checksum process and outputs them to a Log4j Logger.
- Author:
- Jim Downing, Grace Carpenter, Nathan Sarr
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ResultsLogger
Main constructor.- Parameters:
startDt- Date the checking run started.
-
-
Method Details
-
msg
Get the i18N string.- Parameters:
key- to get the message.- Returns:
- the message found.
-
collect
Collect a result for logging.- Specified by:
collectin interfaceChecksumResultsCollector- Parameters:
context- Contextinfo- the BitstreamInfo representing the result.- Throws:
SQLException- if database error- See Also:
-