|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.checker.DailyReportEmailer
public class DailyReportEmailer
The email reporter creates and sends emails to an administrator. This only reports information for todays date. It is expected this will be used just after the checksum checker has been run.
| Constructor Summary | |
|---|---|
DailyReportEmailer()
Default constructor. |
|
| Method Summary | |
|---|---|
static void |
main(String[] args)
Allows users to have email sent to them. |
void |
sendReport(File attachment,
int numberOfBitstreams)
Send the report through email. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DailyReportEmailer()
| Method Detail |
|---|
public void sendReport(File attachment,
int numberOfBitstreams)
throws IOException,
javax.mail.MessagingException
attachment - the file conntaing the reportnumberOfBitstreams - the number of bitstreams reported
IOException - if IO exception occurs
javax.mail.MessagingException - if message cannot be sent.public static void main(String[] args)
args -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||